diff options
author | Rodney Dawes <dobey@ximian.com> | 2004-04-27 01:12:43 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2004-04-27 01:12:43 +0800 |
commit | ebbd29334a2a755f927afbaeb06c99ab6709008b (patch) | |
tree | 10adb3eac681af3925f3879b231e01916528e64d /addressbook | |
parent | e8cfdbede5e0b7d0bc33913552cdd73705c98e6e (diff) | |
download | gsoc2013-evolution-ebbd29334a2a755f927afbaeb06c99ab6709008b.tar gsoc2013-evolution-ebbd29334a2a755f927afbaeb06c99ab6709008b.tar.gz gsoc2013-evolution-ebbd29334a2a755f927afbaeb06c99ab6709008b.tar.bz2 gsoc2013-evolution-ebbd29334a2a755f927afbaeb06c99ab6709008b.tar.lz gsoc2013-evolution-ebbd29334a2a755f927afbaeb06c99ab6709008b.tar.xz gsoc2013-evolution-ebbd29334a2a755f927afbaeb06c99ab6709008b.tar.zst gsoc2013-evolution-ebbd29334a2a755f927afbaeb06c99ab6709008b.zip |
Set spacing around notebook widget and the dialog's action area and vbox
2004-04-26 Rodney Dawes <dobey@ximian.com>
* gui/contact-editor/contact-editor.glade:
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
Set spacing around notebook widget and the dialog's action area and
vbox widgets to be compliant with the HIG dialog specs
svn path=/trunk/; revision=25618
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/contact-editor.glade | 15 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 4 |
3 files changed, 25 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 1f9e3a7e01..89cddc0df3 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2004-04-26 Rodney Dawes <dobey@ximian.com> + + * gui/contact-editor/contact-editor.glade: + * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): + Set spacing around notebook widget and the dialog's action area and + vbox widgets to be compliant with the HIG dialog specs + 2004-04-25 Chris Toshok <toshok@ximian.com> * importers/evolution-ldif-importer.c (ldif_fields): add "mobile" diff --git a/addressbook/gui/contact-editor/contact-editor.glade b/addressbook/gui/contact-editor/contact-editor.glade index 2035b08339..a398bc4fff 100644 --- a/addressbook/gui/contact-editor/contact-editor.glade +++ b/addressbook/gui/contact-editor/contact-editor.glade @@ -11,6 +11,11 @@ <property name="modal">False</property> <property name="resizable">True</property> <property name="destroy_with_parent">False</property> + <property name="decorated">True</property> + <property name="skip_taskbar_hint">False</property> + <property name="skip_pager_hint">False</property> + <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> + <property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="has_separator">False</property> <child internal-child="vbox"> @@ -32,6 +37,7 @@ <property name="label">gtk-help</property> <property name="use_stock">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> <property name="response_id">-11</property> </widget> </child> @@ -44,6 +50,7 @@ <property name="label">gtk-cancel</property> <property name="use_stock">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> <property name="response_id">-6</property> </widget> </child> @@ -57,6 +64,7 @@ <property name="label">gtk-ok</property> <property name="use_stock">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> <property name="response_id">-5</property> </widget> </child> @@ -71,7 +79,7 @@ <child> <widget class="GtkNotebook" id="notebook11"> - <property name="border_width">8</property> + <property name="border_width">12</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="show_tabs">True</property> @@ -233,6 +241,7 @@ <property name="label" translatable="yes">_Categories</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> </widget> <packing> <property name="left_attach">0</property> @@ -350,6 +359,7 @@ <property name="label" translatable="yes">Full _Name...</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> </widget> <packing> <property name="left_attach">0</property> @@ -656,6 +666,7 @@ <property name="label" translatable="yes">Wants to receive HTML mail</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> <property name="active">False</property> <property name="inconsistent">False</property> <property name="draw_indicator">True</property> @@ -2141,6 +2152,8 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">True</property> + <property name="overwrite">False</property> + <property name="accepts_tab">True</property> <property name="justification">GTK_JUSTIFY_LEFT</property> <property name="wrap_mode">GTK_WRAP_NONE</property> <property name="cursor_visible">True</property> diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 194249339e..9395fc925f 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -1955,6 +1955,10 @@ e_contact_editor_init (EContactEditor *e_contact_editor) setup_tab_order(gui); e_contact_editor->app = glade_xml_get_widget (gui, "contact editor"); + widget = e_contact_editor->app; + + 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); set_entry_changed_signals (e_contact_editor); set_entry_activate_signals (e_contact_editor); |