summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-directory-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file-manager/fm-directory-view.c')
-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);