diff options
author | lukefromdc <[email protected]> | 2016-12-19 20:12:41 -0500 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-12-29 22:00:48 +0100 |
commit | 921dbb418e1f7319d8d8100cc5cda4891e246c36 (patch) | |
tree | 16ee0c6fc152b8967798d8fcab57ce4562e4e43a /libcaja-private | |
parent | 0b2858d6a87bf0c1283f333678757a55b11681fa (diff) | |
download | caja-921dbb418e1f7319d8d8100cc5cda4891e246c36.tar.bz2 caja-921dbb418e1f7319d8d8100cc5cda4891e246c36.tar.xz |
Show "open with" menu for desktop and theme files
Apply https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-4&id=b9c51fd4eb84a9f52ee4be1bf183fc516984130b
via
https://gist.github.com/raveit65/19cfc5fe706ac6a2ea5d663a94fb02af
Diffstat (limited to 'libcaja-private')
-rw-r--r-- | libcaja-private/caja-mime-actions.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libcaja-private/caja-mime-actions.c b/libcaja-private/caja-mime-actions.c index 46e3bdc3..b52279f7 100644 --- a/libcaja-private/caja-mime-actions.c +++ b/libcaja-private/caja-mime-actions.c @@ -860,9 +860,7 @@ get_default_executable_text_file_action (void) gboolean caja_mime_file_opens_in_view (CajaFile *file) { - return (caja_file_is_directory (file) || - CAJA_IS_DESKTOP_ICON_FILE (file) || - caja_file_is_caja_link (file)); + return (caja_file_is_directory (file)); } static ActivationAction @@ -871,7 +869,7 @@ get_activation_action (CajaFile *file) ActivationAction action; char *activation_uri; - if (caja_file_is_launcher (file)) + if (caja_file_is_caja_link (file)) { return ACTIVATION_ACTION_LAUNCH_DESKTOP_FILE; } |