summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-12-19 20:12:41 -0500
committerraveit65 <[email protected]>2016-12-29 22:00:48 +0100
commit921dbb418e1f7319d8d8100cc5cda4891e246c36 (patch)
tree16ee0c6fc152b8967798d8fcab57ce4562e4e43a /src
parent0b2858d6a87bf0c1283f333678757a55b11681fa (diff)
downloadcaja-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 'src')
-rw-r--r--src/file-manager/fm-directory-view.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index 28c446ec..a3a3f6bd 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -4787,9 +4787,7 @@ reset_open_with_menu (FMDirectoryView *view, GList *selection)
file = CAJA_FILE (node->data);
- other_applications_visible &=
- (!caja_mime_file_opens_in_view (file) ||
- caja_file_is_directory (file));
+ other_applications_visible &= (!caja_file_is_directory (file));
}
default_app = NULL;