Commit 26cf2aad authored by Sebastien Granjoux's avatar Sebastien Granjoux

Fix #567504 – New Project dialog is not centered

	* plugins/project-wizard/anjuta-project-wizard.glade,
	plugins/project-import/project-import.c:
	Fix #567504 – New Project dialog is not centered

svn path=/trunk/; revision=4585
parent 6b86a11c
2008-01-13 Sébastien Granjoux <seb.sfo@free.fr>
* plugins/project-wizard/anjuta-project-wizard.glade,
plugins/project-import/project-import.c:
Fix #567504 – New Project dialog is not centered
2009-01-13 Jens Georg <mail@jensge.org>
reviewed by: Sébastien Granjoux <seb.sfo@free.fr>
......@@ -314,7 +314,6 @@ project_import_init (ProjectImport *pi)
g_signal_connect(G_OBJECT(pi->assistant), "key-press-event",
G_CALLBACK(on_import_key_press_event), pi);
gtk_widget_show (pi->assistant);
}
static void
......@@ -380,6 +379,8 @@ project_import_new(AnjutaPlugin* plugin)
obj->plugin = plugin;
gtk_window_set_transient_for (GTK_WINDOW (obj->assistant),
GTK_WINDOW (ANJUTA_PLUGIN (plugin)->shell));
gtk_window_set_position (GTK_WINDOW (obj->assistant), GTK_WIN_POS_CENTER_ON_PARENT);
gtk_widget_show (obj->assistant);
return obj;
}
......
......@@ -3,6 +3,7 @@
<!--*- mode: xml -*-->
<glade-interface>
<widget class="GtkAssistant" id="druid_window">
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
<property name="skip_taskbar_hint">True</property>
<property name="skip_pager_hint">True</property>
<child>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment