[gnome-commander/gcmd-1-2-8] advrename: make dialog transient



commit df84d84cbb300183997a5f8f406fc35d62844e2e
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sat Aug 20 14:44:15 2011 +0200

    advrename: make dialog transient

 src/gnome-cmd-advrename-dialog.cc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-advrename-dialog.cc b/src/gnome-cmd-advrename-dialog.cc
index d1d292b..c03b092 100644
--- a/src/gnome-cmd-advrename-dialog.cc
+++ b/src/gnome-cmd-advrename-dialog.cc
@@ -648,6 +648,7 @@ void GnomeCmdAdvrenameDialog::update_new_filenames()
 GnomeCmdAdvrenameDialog::GnomeCmdAdvrenameDialog(GnomeCmdData::AdvrenameConfig &cfg): defaults(cfg)
 {
     gtk_window_set_default_size (*this, cfg.width, cfg.height);
+    gtk_window_set_transient_for (*this, *main_win);
 
     gtk_dialog_add_action_widget (*this,
                                   priv->create_button_with_menu (_("Profiles..."), &cfg),



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