[Xfce4-commits] <xfce4-panel:master> Move the panel menu to the correct screen.

Nick Schermer noreply at xfce.org
Sun Jan 23 18:06:02 CET 2011


Updating branch refs/heads/master
         to f411e79df2f9255924cd85ff47ad21c1a354cb46 (commit)
       from 87f60627fdc292007041ee3833ae3c324ab2b1f4 (commit)

commit f411e79df2f9255924cd85ff47ad21c1a354cb46
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Jan 23 17:29:29 2011 +0100

    Move the panel menu to the correct screen.

 panel/panel-window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/panel/panel-window.c b/panel/panel-window.c
index 2f20130..62e986a 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -2216,6 +2216,8 @@ panel_window_menu_popup (PanelWindow *window,
 
   /* create menu */
   menu = gtk_menu_new ();
+  gtk_menu_set_screen (GTK_MENU (menu),
+      gtk_window_get_screen (GTK_WINDOW (window)));
   g_object_ref_sink (G_OBJECT (menu));
   g_signal_connect (G_OBJECT (menu), "deactivate",
       G_CALLBACK (panel_window_menu_deactivate), window);



More information about the Xfce4-commits mailing list