Commit Graph

24 Commits

Author SHA1 Message Date
efea072f04 Implement translating localestrings
This is still untested though.
2017-12-28 03:21:57 +01:00
41244f2ccc Avoid a crash when substituting the percent character 2017-12-28 02:59:22 +01:00
bfcdbef9c1 Allow translating every localestring 2017-12-28 02:59:09 +01:00
48864fadc8 Spelling 2017-12-28 01:09:39 +01:00
9e740eb210 Skip unknown substitutions when opening files
This is probably not the best possible behaviour, but it will do for the moment.
2017-12-26 21:50:20 +01:00
cb9fe903ea Also implement adding the path to the desktop entry 2017-12-26 21:48:48 +01:00
a0a3d9b75d Also implement adding the path to the icon
Unfortunately also untested at the moment.
2017-12-26 21:48:16 +01:00
0b2088125e Implement opening applications again
There are caveats though.
2017-12-26 21:46:54 +01:00
b4d8989b22 Add debugging information in MimeHandler 2017-12-26 21:43:53 +01:00
3c5e214bc5 Allow desktop entry names to be translated 2017-12-26 21:36:18 +01:00
5bf2d3c595 Also check if the application itself can open files 2017-12-26 20:51:24 +01:00
eaca560520 Code cleanup 2017-12-26 20:43:45 +01:00
e1f37a167b Code cleanup 2017-12-26 20:23:36 +01:00
4380c1a796 Also implement opening URLs and directories 2017-12-12 16:33:48 +01:00
e101d4d002 Let the MimeHandler API be more consistent 2017-12-12 13:08:16 +01:00
e4c4284dbe Tokenize categories on semicolons (";") 2017-12-09 01:05:18 +01:00
c55d1ca96a Fix a few bugs with memory management 2017-12-09 01:01:57 +01:00
3b0fe39b2a Turn MimeHandler into an opaque type 2017-12-09 00:48:50 +01:00
e55c373f13 Do not queue empty types 2017-12-08 23:57:11 +01:00
597e23880c Rename enumerated values for the MimeHandler class 2017-12-08 23:20:16 +01:00
08792869b4 Extend the API
With this, the DeforaOS Panel is closer to complete functionality
without relying on additional code handling desktop entries.
2017-12-08 16:50:46 +01:00
45d2afff26 Insert DATADIR into the default XDG_DATA_DIRS 2017-12-07 19:06:20 +01:00
a0dc6a9fe0 Add a helper to list the MIME types supported 2017-12-07 18:58:41 +01:00
94c0dae8a9 Introduce the MimeHandler class 2017-12-07 17:51:44 +01:00