Code

now at least the first opening of the first gtkmm dialog opens it in-place without...
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 19 Feb 2007 08:21:40 +0000 (08:21 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 19 Feb 2007 08:21:40 +0000 (08:21 +0000)
src/ui/dialog/dialog.cpp

index 61ee2dd9172f23dcbe784c10f4293b176ae3ceed..64109de3fa2f6c24d04048805b54646a487b8f3f 100644 (file)
@@ -170,9 +170,6 @@ Dialog::Dialog(const char *prefs_path, int verb_num, const char *apply_label)
         set_title(title);
     }
 
-    sp_transientize(dlg);
-    retransientize_suppress = false;
-
     gtk_signal_connect( GTK_OBJECT (dlg), "event", GTK_SIGNAL_FUNC(sp_dialog_event_handler), dlg );
 
     _hiddenF12 = false;
@@ -195,6 +192,8 @@ Dialog::Dialog(const char *prefs_path, int verb_num, const char *apply_label)
 
     read_geometry();
     present();
+    sp_transientize(dlg);
+    retransientize_suppress = false;
 }
 
 Dialog::Dialog(BaseObjectType *gobj)