diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2004-06-24 07:38:41 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2004-06-24 07:38:41 +0800 |
commit | 73e4659023c5f2ec11c5e7c974aef116bb320c68 (patch) | |
tree | 2743b4eea46b8d439e95c09ab54aef61bda1b109 /addressbook | |
parent | 70f85e57b5c485b0cb03d278c6d04a1f042842a4 (diff) | |
download | gsoc2013-evolution-73e4659023c5f2ec11c5e7c974aef116bb320c68.tar.gz gsoc2013-evolution-73e4659023c5f2ec11c5e7c974aef116bb320c68.tar.zst gsoc2013-evolution-73e4659023c5f2ec11c5e7c974aef116bb320c68.zip |
Set window to be invisible initially.
2004-06-23 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/contact-editor.glade: Set window to be invisible
initially.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Set
the type hint to "normal", and show the window after init.
svn path=/trunk/; revision=26487
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 8 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/contact-editor.glade | 1 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 4 |
3 files changed, 12 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 43a21d5fbf..ce0475481a 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,11 @@ +2004-06-23 Hans Petter Jansson <hpj@ximian.com> + + * gui/contact-editor/contact-editor.glade: Set window to be invisible + initially. + + * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Set + the type hint to "normal", and show the window after init. + 2004-06-23 Not Zed <NotZed@Ximian.com> * gui/widgets/eab-gui-util.c diff --git a/addressbook/gui/contact-editor/contact-editor.glade b/addressbook/gui/contact-editor/contact-editor.glade index 1acbbac9ed..feb81d5bcd 100644 --- a/addressbook/gui/contact-editor/contact-editor.glade +++ b/addressbook/gui/contact-editor/contact-editor.glade @@ -4,7 +4,6 @@ <glade-interface> <widget class="GtkDialog" id="contact editor"> - <property name="visible">True</property> <property name="title" translatable="yes">Contact Editor</property> <property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="window_position">GTK_WIN_POS_NONE</property> diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 92a32ec958..f74c1204f0 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -2887,6 +2887,7 @@ e_contact_editor_init (EContactEditor *e_contact_editor) e_contact_editor->app = glade_xml_get_widget (gui, "contact editor"); widget = e_contact_editor->app; + gtk_window_set_type_hint (GTK_WINDOW (widget), GDK_WINDOW_TYPE_HINT_NORMAL); gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (widget)->vbox), 0); gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (widget)->action_area), 12); @@ -2923,6 +2924,9 @@ e_contact_editor_init (EContactEditor *e_contact_editor) icon_path = g_build_filename (EVOLUTION_IMAGESDIR, "evolution-contacts-mini.png", NULL); gnome_window_icon_set_from_file (GTK_WINDOW (e_contact_editor->app), icon_path); g_free (icon_path); + + /* show window */ + gtk_widget_show (e_contact_editor->app); } void |