summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/file-manager/fm-directory-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index 2272f3bd..dcf96b2a 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -8811,7 +8811,7 @@ real_update_menus (FMDirectoryView *view)
for (l = selection; l != NULL; l = l->next) {
CajaFile *file;
- file = CAJA_FILE (selection->data);
+ file = CAJA_FILE (l->data);
if (!caja_mime_file_opens_in_external_app (file)) {
show_app = FALSE;