[gnome-control-center] printers: Manual ppd selection dialog should have a parent



commit 3496b0594ad8549f82a9533b8b23f89ecbdf0357
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Oct 7 21:47:49 2015 -0500

    printers: Manual ppd selection dialog should have a parent
    
    https://bugzilla.gnome.org/show_bug.cgi?id=755713

 panels/printers/cc-printers-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/printers/cc-printers-panel.c b/panels/printers/cc-printers-panel.c
index f6d82cc..a09908c 100644
--- a/panels/printers/cc-printers-panel.c
+++ b/panels/printers/cc-printers-panel.c
@@ -2047,7 +2047,7 @@ select_ppd_manually (GtkMenuItem *menuitem,
   gtk_menu_shell_cancel (GTK_MENU_SHELL (priv->popup_menu));
 
   dialog = gtk_file_chooser_dialog_new (_("Select PPD File"),
-                                        NULL,
+                                        GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (self))),
                                         GTK_FILE_CHOOSER_ACTION_OPEN,
                                         _("_Cancel"), GTK_RESPONSE_CANCEL,
                                         _("_Open"), GTK_RESPONSE_ACCEPT,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]