[Xfce4-commits] [xfce/thunar] 01/01: Regression: Context menu misplaced (bug #14216)

noreply at xfce.org noreply at xfce.org
Tue Feb 13 21:23:31 CET 2018


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

a   l   e   x       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/thunar.

commit fad4aedea9a0454fb0c18c1ef1b55cf9538bd476
Author: Alexander Schwinn <acs82 at gmx.de>
Date:   Tue Feb 13 21:22:32 2018 +0100

    Regression: Context menu misplaced (bug #14216)
---
 thunar/thunar-gtk-extensions.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/thunar/thunar-gtk-extensions.c b/thunar/thunar-gtk-extensions.c
index 0c315e7..dd142da 100644
--- a/thunar/thunar-gtk-extensions.c
+++ b/thunar/thunar-gtk-extensions.c
@@ -168,6 +168,7 @@ thunar_gtk_menu_run (GtkMenu            *menu,
   loop = g_main_loop_new (NULL, FALSE);
   signal_id = g_signal_connect_swapped (G_OBJECT (menu), "deactivate", G_CALLBACK (g_main_loop_quit), loop);
   gtk_menu_popup (menu, NULL, NULL, func, data, button, activate_time);
+  gtk_menu_reposition (menu);
   gtk_grab_add (GTK_WIDGET (menu));
   g_main_loop_run (loop);
   g_signal_handler_disconnect (G_OBJECT (menu), signal_id);

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


More information about the Xfce4-commits mailing list