diff options
author | William Hua <william.hua@canonical.com> | 2015-09-25 11:19:55 -0400 |
---|---|---|
committer | William Hua <william.hua@canonical.com> | 2016-01-06 10:37:41 -0500 |
commit | 2a41ab5699e759c787301bb55356b6668b19ddfd (patch) | |
tree | 0fe9b9b5b8360ff4a9fc80468e32d530b0c5ee17 | |
parent | 00c94c168a093b4ace7b17b8875621383a738a90 (diff) | |
download | gtk+-2a41ab5699e759c787301bb55356b6668b19ddfd.tar.gz |
gtkmountoperation: use gtk_menu_popup_with_params ()
-rw-r--r-- | gtk/gtkmountoperation.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c index f95834d4d1..cebd6bef8f 100644 --- a/gtk/gtkmountoperation.c +++ b/gtk/gtkmountoperation.c @@ -1353,13 +1353,15 @@ do_popup_menu_for_process_tree_view (GtkWidget *widget, event_time = gtk_get_current_event_time (); } - gtk_menu_popup (GTK_MENU (menu), - NULL, - widget, - NULL, - NULL, - button, - event_time); + gtk_menu_popup_with_params (GTK_MENU (menu), + NULL, + NULL, + NULL, + button, + event_time, + TRUE, + GDK_WINDOW_TYPE_HINT_POPUP_MENU, + NULL); popped_up_menu = TRUE; |