[gtk+/wip/attachment-parameters-4: 17/20] gtkappchooserwidget: 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: 17/20] gtkappchooserwidget: use gtk_menu_popup_with_params ()
- Date: Wed, 6 Jan 2016 00:41:27 +0000 (UTC)
commit 9ced148cfefc18dd73d96eec6b94c03551460f04
Author: William Hua <william hua canonical com>
Date: Fri Sep 25 09:50:22 2015 -0400
gtkappchooserwidget: use gtk_menu_popup_with_params ()
gtk/gtkappchooserwidget.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkappchooserwidget.c b/gtk/gtkappchooserwidget.c
index 7e2117c..1328338 100644
--- a/gtk/gtkappchooserwidget.c
+++ b/gtk/gtkappchooserwidget.c
@@ -253,8 +253,14 @@ widget_button_press_event_cb (GtkWidget *widget,
if (n_children > 0)
/* actually popup the menu */
- gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL,
- event->button, event->time);
+ gtk_menu_popup_with_params (GTK_MENU (menu),
+ NULL,
+ NULL,
+ NULL,
+ event->button,
+ event->time,
+ TRUE,
+ NULL);
g_list_free (children);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]