From 37ca97bfbc298dae0f15957ad15c83b342e12a6a Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Wed, 2 Feb 2005 22:56:51 +0000 Subject: Set the border width for the internal dialog containers to be HIG 2005-02-02 Rodney Dawes * gui/dialogs/alarm-dialog.c (alarm_dialog_run): Set the border width for the internal dialog containers to be HIG compliant * gui/dialogs/alarm-dialog.glade: Remove the separator in the dialog and fix some spacing/padding issues to be HIG compliant * gui/dialogs/alarm-list-dialog.c (alarm_list_dialog_run): Set the border width for the internal dialog containers to be HIG compliant * gui/dialogs/alarm-list-dialog.glade: Remove the separator in the dialog and fix some spacing/padding issues to be HIG compliant svn path=/trunk/; revision=28681 --- calendar/gui/dialogs/alarm-dialog.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'calendar/gui/dialogs/alarm-dialog.c') diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c index 1fe8c5c1d4..d0db059b62 100644 --- a/calendar/gui/dialogs/alarm-dialog.c +++ b/calendar/gui/dialogs/alarm-dialog.c @@ -935,7 +935,11 @@ alarm_dialog_run (GtkWidget *parent, ECal *ecal, ECalComponentAlarm *alarm) init_widgets (&dialog); alarm_to_dialog (&dialog); - + + gtk_widget_ensure_style (dialog.toplevel); + gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog.toplevel)->vbox), 0); + gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog.toplevel)->action_area), 12); + icon_list = e_icon_factory_get_icon_list ("stock_calendar"); if (icon_list) { gtk_window_set_icon_list (GTK_WINDOW (dialog.toplevel), icon_list); -- cgit v1.2.3