From 698e7f69f52ceccd335d09668f7a5c81c80c66ec Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Wed, 26 Jan 2005 20:34:20 +0000 Subject: Fix up spacing to be HIG compliant for the borders around the dialogs 2005-01-26 Rodney Dawes * e-error.c (e_error_newv): Fix up spacing to be HIG compliant for the borders around the dialogs svn path=/trunk/; revision=28566 --- widgets/misc/ChangeLog | 5 +++++ widgets/misc/e-error.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 39b3be3b41..aa04365165 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2005-01-26 Rodney Dawes + + * e-error.c (e_error_newv): Fix up spacing to be HIG compliant for + the borders around the dialogs + 2005-01-25 Not Zed * e-error.c: turn off debug output, people think its a significant diff --git a/widgets/misc/e-error.c b/widgets/misc/e-error.c index 7a5362ffe1..f7dc888609 100644 --- a/widgets/misc/e-error.c +++ b/widgets/misc/e-error.c @@ -414,7 +414,9 @@ e_error_newv(GtkWindow *parent, const char *tag, const char *arg0, va_list ap) dialog = (GtkDialog *)gtk_dialog_new(); gtk_dialog_set_has_separator(dialog, FALSE); - gtk_container_set_border_width((GtkContainer *)dialog, 6); + gtk_widget_ensure_style ((GtkWidget *)dialog); + gtk_container_set_border_width ((GtkContainer *)(dialog->vbox), 0); + gtk_container_set_border_width ((GtkContainer *)(dialog->action_area), 12); if (parent == NULL && ee_parent_list) parent = (GtkWindow *)ee_parent_list->data; -- cgit v1.2.3