[Xfce4-commits] r26937 - in xfce4-panel/branches/xfce_4_4/plugins: launcher pager

Brian Tarricone kelnos at xfce.org
Thu May 8 07:06:02 CEST 2008


Author: kelnos
Date: 2008-05-08 05:06:02 +0000 (Thu, 08 May 2008)
New Revision: 26937

Modified:
   xfce4-panel/branches/xfce_4_4/plugins/launcher/launcher-dialog.c
   xfce4-panel/branches/xfce_4_4/plugins/pager/pager.c
Log:
set propert screen for configuration dialogs


Modified: xfce4-panel/branches/xfce_4_4/plugins/launcher/launcher-dialog.c
===================================================================
--- xfce4-panel/branches/xfce_4_4/plugins/launcher/launcher-dialog.c	2008-05-07 23:20:05 UTC (rev 26936)
+++ xfce4-panel/branches/xfce_4_4/plugins/launcher/launcher-dialog.c	2008-05-08 05:06:02 UTC (rev 26937)
@@ -1334,6 +1334,9 @@
                 GTK_STOCK_CLOSE, GTK_RESPONSE_OK,
                 NULL);
 
+    gtk_window_set_screen (GTK_WINDOW (ld->dlg),
+                           gtk_widget_get_screen (GTK_WIDGET (plugin)));
+
     g_object_set_data (G_OBJECT (plugin), "dialog", ld->dlg);
     g_object_set_data (G_OBJECT (plugin), "launcher-dialog", ld);
 

Modified: xfce4-panel/branches/xfce_4_4/plugins/pager/pager.c
===================================================================
--- xfce4-panel/branches/xfce_4_4/plugins/pager/pager.c	2008-05-07 23:20:05 UTC (rev 26936)
+++ xfce4-panel/branches/xfce_4_4/plugins/pager/pager.c	2008-05-08 05:06:02 UTC (rev 26937)
@@ -340,6 +340,9 @@
                 GTK_STOCK_CLOSE, GTK_RESPONSE_OK,
                 NULL);
 
+    gtk_window_set_screen (GTK_WINDOW (dlg),
+                           gtk_widget_get_screen (GTK_WIDGET (plugin)));
+
     g_object_set_data (G_OBJECT (plugin), "dialog", dlg);
 
     gtk_window_set_position (GTK_WINDOW (dlg), GTK_WIN_POS_CENTER);



More information about the Xfce4-commits mailing list