Author: kelnos
Date: 2008-05-08 05:57:15 +0000 (Thu, 08 May 2008)
New Revision: 26939

Modified:
   xfce4-panel/trunk/plugins/launcher/launcher-dialog.c
Log:
pass dialog as the parent of file chooser so it appears on the right screen


Modified: xfce4-panel/trunk/plugins/launcher/launcher-dialog.c
===================================================================
--- xfce4-panel/trunk/plugins/launcher/launcher-dialog.c        2008-05-08 
05:57:03 UTC (rev 26938)
+++ xfce4-panel/trunk/plugins/launcher/launcher-dialog.c        2008-05-08 
05:57:15 UTC (rev 26939)
@@ -595,7 +595,7 @@
     gchar     *path;
 
     chooser = gtk_file_chooser_dialog_new (_("Select a Directory"),
-                                           NULL,
+                                           GTK_WINDOW (gtk_widget_get_toplevel 
(ld->treeview)),
                                            
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
                                            GTK_STOCK_CANCEL, 
GTK_RESPONSE_CANCEL,
                                            GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to