Commit Graph

164 Commits

Author SHA1 Message Date
33a7133507 Update the copyright notice 2020-09-28 08:04:43 +02:00
1a9643523f Add support for the globs2 file format
The priority field is ignored for the moment.
2020-09-28 08:04:43 +02:00
b116a4fb47 Avoid warnings with Gtk+ >= 3.22
This uses gdk_x11_display_error_{pop,push}() instead of
gdk_error_trap_{pop,push}().
2020-02-22 18:55:04 +01:00
db96a01504 Update the copyright notice 2020-02-22 18:54:54 +01:00
507c6ba784 Code cleanup 2020-02-22 18:53:56 +01:00
231ab59cc0 Build with Gtk+ 3 by default 2019-10-06 03:37:38 +02:00
c408cd9cc5 Also ship mimehandler.h 2018-12-29 02:11:09 +01:00
a966551767 Update the copyright notice 2018-04-21 22:43:50 +02:00
e3e28e8f44 Remove another FIXME 2018-04-21 22:43:43 +02:00
cf3cea7985 Change a FIXME into a TODO 2018-04-21 22:42:01 +02:00
fc47c98fc2 Support opening directory desktop entries 2018-04-21 22:40:25 +02:00
10cf90c1e0 Update the copyright notice 2018-04-21 22:28:18 +02:00
05ef48e935 Also allow executables for generic types 2018-04-21 21:57:12 +02:00
5203dd4d43 Code cleanup 2018-04-21 21:50:23 +02:00
e94f74a282 Implement fallback for executables in ~/.mime 2018-04-21 21:48:29 +02:00
070d3123bd Add compatibility code for GtkDialog 2018-02-06 00:46:03 +01:00
f879140893 Add compatibility code for Gtk+ < 2.14 2018-02-05 02:22:16 +01:00
4ca8180033 Fix build with Gtk+ < 3.0 2018-02-05 01:32:48 +01:00
a633870c55 Add compatibility code for gtk_widget_override_color() 2018-02-05 01:26:58 +01:00
29dc10f363 Offer more compatibility code 2018-01-28 08:48:18 +01:00
9b62d7c6a7 Allow setting the environment for "OnlyShowIn" 2018-01-27 11:06:29 +01:00
224e24227b Ignore empty generic names 2018-01-22 23:59:11 +01:00
5b42969ff0 Ignore empty translations 2018-01-22 23:49:05 +01:00
9fa0f98193 Use string_get_length() instead of string_length() 2018-01-22 23:48:40 +01:00
af8ab99448 No longer build with -fpedantic 2018-01-22 05:15:55 +01:00
97553209c6 Stick to the default stack protector 2018-01-22 05:15:23 +01:00
881a9cb718 Fix testing the "TryExec" property for applications 2018-01-22 04:51:10 +01:00
f8e71de202 Update a comment 2018-01-17 00:14:16 +01:00
4fc1383c00 Avoid compilation warnings 2018-01-17 00:14:01 +01:00
e520f7703a Escape filenames and URLs when opening 2018-01-17 00:11:45 +01:00
8093a9b375 Update the copyright notice 2018-01-16 05:45:49 +01:00
e65358ed3d Add gtk_scale_new{,_with_range}() for compatibility 2018-01-16 05:45:23 +01:00
4001fc6de3 Update the copyright notice 2018-01-14 06:50:00 +01:00
f2e2353888 Use getcwd() instead of getwd()
This avoids warnings in linkers against potential misuse of getwd(),
even though it was apparently safe here.
2018-01-14 06:48:31 +01:00
682de0d5c5 Use absolute paths when opening files 2017-12-29 01:47:56 +01:00
3e7116b396 Add support for PROGNAME_{BROWSER,HTMLAPP} for now 2017-12-28 05:30:04 +01:00
d45f740b81 Code cleanup 2017-12-28 05:28:19 +01:00
3594bcba09 No longer look for browser(1) in $PATH 2017-12-28 05:27:54 +01:00
c33ee98dd3 Rename mimehandler_is_hidden() to mimehandler_is_deleted()
This is one step further than the specification, and should help
understand the true meaning of this key.

While there, improve mimehandler_can_display() as well.
2017-12-28 05:08:54 +01:00
a78661f953 Match the desktop entry specification closer for links 2017-12-28 03:40:02 +01:00
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