summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-icon-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file-manager/fm-icon-view.c')
-rw-r--r--src/file-manager/fm-icon-view.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/file-manager/fm-icon-view.c b/src/file-manager/fm-icon-view.c
index fa71811e..110ed58c 100644
--- a/src/file-manager/fm-icon-view.c
+++ b/src/file-manager/fm-icon-view.c
@@ -2552,8 +2552,12 @@ icon_container_context_click_background_callback (CajaIconContainer *container,
g_assert (CAJA_IS_ICON_CONTAINER (container));
g_assert (FM_IS_ICON_VIEW (icon_view));
+ /* FIXME: passing event from here won't work
+ * for gtk_menu_popup_at_pointer (in eel_pop_up_context_menu() )
+ * if the menu is being triggered from here by the menu key
+ */
fm_directory_view_pop_up_background_context_menu
- (FM_DIRECTORY_VIEW (icon_view), event);
+ (FM_DIRECTORY_VIEW (icon_view), NULL);
}
static gboolean