From 7cd76a64850caf3643d2404995aa3c93c317ee2f Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Tue, 27 Apr 2004 17:57:06 +0000 Subject: Update dialog vbox and action area border widths to be HIG compliant 2004-04-27 Rodney Dawes * gui/contact-editor/e-contact-editor-fullname.c: (e_contact_editor_fullname_init): * gui/contact-editor/fullname.glade: * gui/search/e-addressbook-search-dialog.c (eab_search_dialog_init): Update dialog vbox and action area border widths to be HIG compliant Update main child widget border widths to be HIG compliant svn path=/trunk/; revision=25635 --- addressbook/gui/contact-editor/e-contact-editor-fullname.c | 6 ++++++ addressbook/gui/contact-editor/fullname.glade | 11 +++++++++-- addressbook/gui/search/e-addressbook-search-dialog.c | 6 ++++++ 3 files changed, 21 insertions(+), 2 deletions(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/contact-editor/e-contact-editor-fullname.c b/addressbook/gui/contact-editor/e-contact-editor-fullname.c index b8887fa051..1847a463f1 100644 --- a/addressbook/gui/contact-editor/e-contact-editor-fullname.c +++ b/addressbook/gui/contact-editor/e-contact-editor-fullname.c @@ -105,6 +105,12 @@ e_contact_editor_fullname_init (EContactEditorFullname *e_contact_editor_fullnam GtkWidget *widget; GList *icon_list; + gtk_widget_realize (GTK_WIDGET (e_contact_editor_fullname)); + gtk_dialog_set_has_separator (GTK_DIALOG (e_contact_editor_fullname), + FALSE); + gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (e_contact_editor_fullname)->vbox), 0); + gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (e_contact_editor_fullname)->action_area), 12); + gtk_dialog_add_buttons (GTK_DIALOG (e_contact_editor_fullname), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, diff --git a/addressbook/gui/contact-editor/fullname.glade b/addressbook/gui/contact-editor/fullname.glade index 9e170c93d0..f2ae7c92eb 100644 --- a/addressbook/gui/contact-editor/fullname.glade +++ b/addressbook/gui/contact-editor/fullname.glade @@ -10,7 +10,12 @@ True True False - True + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + False @@ -31,6 +36,7 @@ gtk-ok True GTK_RELIEF_NORMAL + True 0 @@ -43,6 +49,7 @@ gtk-cancel True GTK_RELIEF_NORMAL + True 0 @@ -57,7 +64,7 @@ - 6 + 12 True 5 3 diff --git a/addressbook/gui/search/e-addressbook-search-dialog.c b/addressbook/gui/search/e-addressbook-search-dialog.c index a8621bf5a7..91277ed7c7 100644 --- a/addressbook/gui/search/e-addressbook-search-dialog.c +++ b/addressbook/gui/search/e-addressbook-search-dialog.c @@ -112,9 +112,15 @@ eab_search_dialog_init (EABSearchDialog *view) { GtkDialog *dialog = GTK_DIALOG (view); + gtk_widget_realize (GTK_WIDGET (dialog)); + gtk_dialog_set_has_separator (dialog, FALSE); + gtk_container_set_border_width (GTK_CONTAINER (dialog->vbox), 0); + gtk_container_set_border_width (GTK_CONTAINER (dialog->action_area), 12); + gtk_window_set_default_size (GTK_WINDOW (view), 550, 400); gtk_window_set_title(GTK_WINDOW(view), _("Advanced Search")); view->search = get_widget(view); + gtk_container_set_border_width (GTK_CONTAINER (view->search), 12); gtk_box_pack_start(GTK_BOX(dialog->vbox), view->search, TRUE, TRUE, 0); gtk_widget_show(view->search); -- cgit