[Xfce4-commits] [xfce/xfce4-panel] 02/02: Make launcher-dialog's context menu popup at pointer

noreply at xfce.org noreply at xfce.org
Tue Jul 30 04:44:05 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   n   d   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 xfce/xfce4-panel.

commit b9c5a8b963e34e13ee19d22dc097f773cc12cc25
Author: Andre Miranda <andreldm at xfce.org>
Date:   Mon Jul 29 23:42:44 2019 -0300

    Make launcher-dialog's context menu popup at pointer
---
 plugins/launcher/launcher-dialog.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/plugins/launcher/launcher-dialog.c b/plugins/launcher/launcher-dialog.c
index b009cff..7158275 100644
--- a/plugins/launcher/launcher-dialog.c
+++ b/plugins/launcher/launcher-dialog.c
@@ -660,10 +660,7 @@ launcher_dialog_tree_popup_menu (GtkWidget            *treeview,
 
   /* show the menu */
   menu = gtk_builder_get_object (dialog->builder, "popup-menu");
-  gtk_menu_popup_at_widget (GTK_MENU (menu), treeview,
-                            GDK_GRAVITY_SOUTH_WEST,
-                            GDK_GRAVITY_NORTH_WEST,
-                            NULL);
+  gtk_menu_popup_at_pointer (GTK_MENU (menu), NULL);
   return TRUE;
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list