[gtk+/wip/attachment-parameters-4: 56/58] gtkmountoperation: use gtk_menu_popup_with_params ()
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/attachment-parameters-4: 56/58] gtkmountoperation: use gtk_menu_popup_with_params ()
- Date: Wed, 6 Jan 2016 15:39:26 +0000 (UTC)
commit 2a41ab5699e759c787301bb55356b6668b19ddfd
Author: William Hua <william hua canonical com>
Date: Fri Sep 25 11:19:55 2015 -0400
gtkmountoperation: use gtk_menu_popup_with_params ()
gtk/gtkmountoperation.c | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c
index f95834d..cebd6be 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]