From: buliabyak Date: Mon, 19 Feb 2007 08:21:40 +0000 (+0000) Subject: now at least the first opening of the first gtkmm dialog opens it in-place without... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c1faa54c60ce094348e66b34962c27062a0827da;p=inkscape.git now at least the first opening of the first gtkmm dialog opens it in-place without jumping. still can't make it work for all cases. --- diff --git a/src/ui/dialog/dialog.cpp b/src/ui/dialog/dialog.cpp index 61ee2dd91..64109de3f 100644 --- a/src/ui/dialog/dialog.cpp +++ b/src/ui/dialog/dialog.cpp @@ -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)