summaryrefslogtreecommitdiff
path: root/src/file-manager
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-12-19 20:12:41 -0500
committerlukefromdc <[email protected]>2016-12-29 13:36:00 -0500
commit5432a415dadbd8db34081037645e0c38457900ec (patch)
treeb7d5a401ab62384726c5e7afd7be8b8049ef3588 /src/file-manager
parent5d1e0d9af9f8f235cc66c9ee2d20005eaf958fde (diff)
downloadcaja-5432a415dadbd8db34081037645e0c38457900ec.tar.bz2
caja-5432a415dadbd8db34081037645e0c38457900ec.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/file-manager')
-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 d4c41628..ba7a59db 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -4712,9 +4712,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;