anjuta r4585 - in trunk: . plugins/project-import plugins/project-wizard
- From: sgranjoux svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4585 - in trunk: . plugins/project-import plugins/project-wizard
- Date: Tue, 13 Jan 2009 06:41:51 +0000 (UTC)
Author: sgranjoux
Date: Tue Jan 13 06:41:51 2009
New Revision: 4585
URL: http://svn.gnome.org/viewvc/anjuta?rev=4585&view=rev
Log:
* plugins/project-wizard/anjuta-project-wizard.glade,
plugins/project-import/project-import.c:
Fix #567504 â New Project dialog is not centered
Modified:
trunk/ChangeLog
trunk/plugins/project-import/project-import.c
trunk/plugins/project-wizard/anjuta-project-wizard.glade
Modified: trunk/plugins/project-import/project-import.c
==============================================================================
--- trunk/plugins/project-import/project-import.c (original)
+++ trunk/plugins/project-import/project-import.c Tue Jan 13 06:41:51 2009
@@ -314,7 +314,6 @@
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 @@
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;
}
Modified: trunk/plugins/project-wizard/anjuta-project-wizard.glade
==============================================================================
--- trunk/plugins/project-wizard/anjuta-project-wizard.glade (original)
+++ trunk/plugins/project-wizard/anjuta-project-wizard.glade Tue Jan 13 06:41:51 2009
@@ -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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]