summaryrefslogtreecommitdiff
path: root/src/caja-emblem-sidebar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-emblem-sidebar.c')
-rw-r--r--src/caja-emblem-sidebar.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/caja-emblem-sidebar.c b/src/caja-emblem-sidebar.c
index 5e2fadda..05a77861 100644
--- a/src/caja-emblem-sidebar.c
+++ b/src/caja-emblem-sidebar.c
@@ -187,10 +187,8 @@ caja_emblem_sidebar_button_press_cb (GtkWidget *widget,
gtk_widget_set_sensitive (emblem_sidebar->details->popup_rename,
caja_emblem_can_rename_emblem (keyword));
-
- gtk_menu_popup (GTK_MENU (emblem_sidebar->details->popup),
- NULL, NULL, NULL, NULL, event->button,
- event->time);
+ gtk_menu_popup_at_pointer (GTK_MENU (emblem_sidebar->details->popup),
+ (const GdkEvent*) event);
}
return TRUE;