summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2017-02-07 01:00:50 -0500
committermonsta <[email protected]>2017-02-17 15:55:40 +0300
commitd8ac8e9c2b7781931e42b72e3200e269a0f27acb (patch)
tree77cfe6f468b827486e77e1987a9845d04b309697
parent00cbc5c90d72ce819d68a44f9890d5aa94b7d20a (diff)
downloadcaja-d8ac8e9c2b7781931e42b72e3200e269a0f27acb.tar.bz2
caja-d8ac8e9c2b7781931e42b72e3200e269a0f27acb.tar.xz
restore "open with other application" menu entry for directories
-rw-r--r--src/file-manager/fm-directory-view.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index a3a3f6bd..b9d6f76f 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -4783,13 +4783,6 @@ reset_open_with_menu (FMDirectoryView *view, GList *selection)
other_applications_visible = (selection != NULL);
filter_default = (selection != NULL);
- for (node = selection; node != NULL; node = node->next) {
-
- file = CAJA_FILE (node->data);
-
- other_applications_visible &= (!caja_file_is_directory (file));
- }
-
default_app = NULL;
if (filter_default) {
default_app = caja_mime_get_default_application_for_files (selection);