[gnome-commander: 1/4] advrename: make dialog transient



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

    advrename: make dialog transient

 src/dialogs/gnome-cmd-advrename-dialog.cc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-advrename-dialog.cc b/src/dialogs/gnome-cmd-advrename-dialog.cc
index f5b3e73..cfd3357 100644
--- a/src/dialogs/gnome-cmd-advrename-dialog.cc
+++ b/src/dialogs/gnome-cmd-advrename-dialog.cc
@@ -672,6 +672,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]