aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog6
-rw-r--r--e-util/e-config.c9
2 files changed, 14 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index e5e3340e14..dd71c5e11c 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,9 @@
+2005-01-06 Rodney Dawes <dobey@novell.com>
+
+ * e-config.c (e_config_create_window): Add the GTK_DIALOG_NOSEPARATOR
+ flag, and set appropriate border widths around the main dialog vbox,
+ and action area, to be more HIG compliant
+
2005-01-06 JP Rosevear <jpr@novell.com>
* e-error-tool.c (main): use the base name only, so if a full path
diff --git a/e-util/e-config.c b/e-util/e-config.c
index 16c5219b42..4f78218503 100644
--- a/e-util/e-config.c
+++ b/e-util/e-config.c
@@ -882,11 +882,18 @@ e_config_create_window(EConfig *emp, struct _GtkWindow *parent, const char *titl
e_config_create_widget(emp);
if (emp->type == E_CONFIG_BOOK) {
- w = gtk_dialog_new_with_buttons(title, parent, GTK_DIALOG_DESTROY_WITH_PARENT,
+ w = gtk_dialog_new_with_buttons(title, parent,
+ GTK_DIALOG_DESTROY_WITH_PARENT |
+ GTK_DIALOG_NO_SEPARATOR,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
g_signal_connect(w, "response", G_CALLBACK(ec_dialog_response), emp);
+
+ gtk_widget_ensure_style (w);
+ gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (w)->vbox), 0);
+ gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (w)->action_area), 12);
+
gtk_box_pack_start((GtkBox *)((GtkDialog *)w)->vbox, emp->widget, TRUE, TRUE, 0);
} else {
/* response is handled directly by the druid stuff */