From 3a80218b28b094dcb0897cd667ab4cc7b33c359c Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Tue, 9 Mar 2004 17:47:02 +0000 Subject: Remove the dialog separator, and set appropriate border widths for the 2004-03-09 Rodney Dawes * gui/contact-editor/e-contact-editor-im.c (e_contact_editor_im_edit): Remove the dialog separator, and set appropriate border widths for the button area box and the dialog's vbox * gui/contact-editor/im.glade: Apply patch from Christian Neumair to make the IM editor dialog HIG compliant svn path=/trunk/; revision=24999 --- .../gui/contact-editor/e-contact-editor-im.c | 4 +++ addressbook/gui/contact-editor/im.glade | 30 ++++++++++++---------- 2 files changed, 20 insertions(+), 14 deletions(-) (limited to 'addressbook/gui/contact-editor') diff --git a/addressbook/gui/contact-editor/e-contact-editor-im.c b/addressbook/gui/contact-editor/e-contact-editor-im.c index aedd712261..dc1a4e39bc 100644 --- a/addressbook/gui/contact-editor/e-contact-editor-im.c +++ b/addressbook/gui/contact-editor/e-contact-editor-im.c @@ -267,6 +267,10 @@ e_contact_editor_im_init (EContactEditorIm *e_contact_editor_im) GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); + gtk_dialog_set_has_separator (GTK_DIALOG (e_contact_editor_im), FALSE); + + gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (e_contact_editor_im)->action_area), 12); + gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (e_contact_editor_im)->vbox), 0); gtk_window_set_resizable(GTK_WINDOW(e_contact_editor_im), TRUE); diff --git a/addressbook/gui/contact-editor/im.glade b/addressbook/gui/contact-editor/im.glade index 9523fabd04..eb8832e8f1 100644 --- a/addressbook/gui/contact-editor/im.glade +++ b/addressbook/gui/contact-editor/im.glade @@ -2,22 +2,21 @@ - Add IM Account GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE True - False + True False - True + False True False - 0 + 2 @@ -64,21 +63,22 @@ 2 False 6 - 6 + 12 True - IM Service: - False + _IM Service: + True False GTK_JUSTIFY_LEFT False False - 1 + 0 0.5 0 0 + optmenu-service 0 @@ -109,16 +109,17 @@ True - Account name: - False + _Account name: + True False GTK_JUSTIFY_LEFT False False - 1 + 0 0.5 0 0 + entry-username 0 @@ -154,16 +155,17 @@ True - Location: - False + _Location: + True False GTK_JUSTIFY_LEFT False False - 1 + 0 0.5 0 0 + optmenu-location 0 -- cgit v1.2.3