From b4dc945f6e11216c642cc714a0492b4aefd92ae1 Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Fri, 26 Mar 2004 17:12:05 +0000 Subject: We don't need this really (class_init): We don't need to have our own 2004-03-26 Rodney Dawes * e-shell-settings-dialog.c (impl_realize): We don't need this really (class_init): We don't need to have our own realize impl for setting the default window size of the dialog, especially since we are setting the size before we actually get realized, anyway (init): Set the dialog size here, and don't set the border width of the dialog 2004-03-26 Rodney Dawes * e-multi-config-dialog.c (init): Remove the dialog separator Set the border widths of the dialog's vbox and action area to be more HIG-compliant Set the border width of the dialog's child to 12 for HIG-compliance svn path=/trunk/; revision=25197 --- widgets/misc/ChangeLog | 7 +++++++ widgets/misc/e-multi-config-dialog.c | 8 ++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'widgets/misc') diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 3ce77d0ec1..a24c1f66f7 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,10 @@ +2004-03-26 Rodney Dawes + + * e-multi-config-dialog.c (init): Remove the dialog separator + Set the border widths of the dialog's vbox and action area to be more + HIG-compliant + Set the border width of the dialog's child to 12 for HIG-compliance + 2004-03-15 JP Rosevear * e-calendar-item.c (e_calendar_item_class_init): change arg name diff --git a/widgets/misc/e-multi-config-dialog.c b/widgets/misc/e-multi-config-dialog.c index 97b4e7ab3d..dbd8cc4a15 100644 --- a/widgets/misc/e-multi-config-dialog.c +++ b/widgets/misc/e-multi-config-dialog.c @@ -377,10 +377,14 @@ init (EMultiConfigDialog *multi_config_dialog) ECell *text; ECell *vbox; + gtk_dialog_set_has_separator (GTK_DIALOG (multi_config_dialog), FALSE); + gtk_widget_realize (GTK_WIDGET (multi_config_dialog)); + gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (multi_config_dialog)->vbox), 0); + gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (multi_config_dialog)->action_area), 12); + hbox = gtk_hbox_new (FALSE, 6); - gtk_container_set_border_width (GTK_CONTAINER (hbox), 6); + gtk_container_set_border_width (GTK_CONTAINER (hbox), 12); dialog_vbox = GTK_DIALOG (multi_config_dialog)->vbox; - gtk_box_set_spacing (GTK_BOX (dialog_vbox), 6); gtk_container_add (GTK_CONTAINER (dialog_vbox), hbox); -- cgit