[gnome-commander] search: make dialog transient



commit f4ea46d541e5d564bdcf76b3b9de17dc6622ceb3
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sat Aug 20 14:39:17 2011 +0200

    search: make dialog transient

 src/dialogs/gnome-cmd-search-dialog.cc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-search-dialog.cc b/src/dialogs/gnome-cmd-search-dialog.cc
index 7da3260..2821444 100755
--- a/src/dialogs/gnome-cmd-search-dialog.cc
+++ b/src/dialogs/gnome-cmd-search-dialog.cc
@@ -1139,6 +1139,7 @@ static void gnome_cmd_search_dialog_class_init (GnomeCmdSearchDialogClass *klass
 GnomeCmdSearchDialog::GnomeCmdSearchDialog(GnomeCmdData::SearchConfig &cfg): defaults(cfg)
 {
     gtk_window_set_default_size (*this, defaults.width, defaults.height);
+    gtk_window_set_transient_for (*this, *main_win);
 
     GtkWidget *button = priv->create_button_with_menu(_("Profiles..."), cfg);
 



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