[Xfce4-commits] [panel-plugins/xfce4-places-plugin] 19/30: Replace gtk_menu_popup
noreply at xfce.org
noreply at xfce.org
Mon Apr 22 12:08:10 CEST 2019
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-places-plugin.
commit 34a424a80ec973c6664ffc2d1be2b2bcf15150ad
Author: Andre Miranda <andreldm at xfce.org>
Date: Sat Apr 20 14:59:04 2019 -0300
Replace gtk_menu_popup
---
panel-plugin/view.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/panel-plugin/view.c b/panel-plugin/view.c
index 8bbfb06..41ff07d 100644
--- a/panel-plugin/view.c
+++ b/panel-plugin/view.c
@@ -341,10 +341,7 @@ pview_cb_menu_item_do_alt(PlacesView *pd, GtkWidget *menu_item)
}while(actions != NULL);
gtk_widget_show(context);
- gtk_menu_popup(GTK_MENU(context),
- NULL, NULL,
- NULL, NULL,
- 0, gtk_get_current_event_time());
+ gtk_menu_popup_at_pointer (GTK_MENU(context), NULL);
g_signal_connect_swapped(context, "deactivate",
G_CALLBACK(pview_cb_menu_context_deact), pd);
@@ -740,10 +737,7 @@ pview_open_menu_at (PlacesView *pd,
/* popup menu */
DBG("menu: %x", (guint)pd->menu);
- gtk_menu_popup (GTK_MENU (pd->menu), NULL, NULL,
- (button != NULL) ? xfce_panel_plugin_position_menu : NULL,
- pd->plugin, 1,
- gtk_get_current_event_time ());
+ gtk_menu_popup_at_pointer (GTK_MENU (pd->menu), NULL);
/* menu timeout to poll for model changes */
if(pd->menu_timeout_id == 0){
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list