From e6287e4dc937c213ca7016e69b70d0b6afb744ce Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Fri, 30 Apr 2004 22:27:05 +0000 Subject: Update the alarm notify dialog to be HIG compliant 2004-04-30 Rodney Dawes * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): * gui/alarm-notify/alarm-notify.glade: Update the alarm notify dialog to be HIG compliant Fixes #41224 svn path=/trunk/; revision=25729 --- calendar/gui/alarm-notify/alarm-notify-dialog.c | 5 + calendar/gui/alarm-notify/alarm-notify.glade | 322 ++++++++++++++++-------- 2 files changed, 225 insertions(+), 102 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/alarm-notify/alarm-notify-dialog.c b/calendar/gui/alarm-notify/alarm-notify-dialog.c index da523e72f3..c914bdb8a0 100644 --- a/calendar/gui/alarm-notify/alarm-notify-dialog.c +++ b/calendar/gui/alarm-notify/alarm-notify-dialog.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -341,6 +342,10 @@ alarm_notify_dialog (time_t trigger, time_t occur_start, time_t occur_end, return NULL; } + gtk_widget_realize (an->dialog); + gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (an->dialog)->vbox), 0); + gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (an->dialog)->action_area), 12); + g_signal_connect (G_OBJECT (an->dialog), "destroy", G_CALLBACK (dialog_destroy_cb), an); diff --git a/calendar/gui/alarm-notify/alarm-notify.glade b/calendar/gui/alarm-notify/alarm-notify.glade index bc0da43f22..1d53234c3e 100644 --- a/calendar/gui/alarm-notify/alarm-notify.glade +++ b/calendar/gui/alarm-notify/alarm-notify.glade @@ -3,8 +3,7 @@ - - 12 + True GTK_WINDOW_TOPLEVEL @@ -12,33 +11,220 @@ False True False + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + False - - - 4 + + True False - 6 + 0 + + + + True + GTK_BUTTONBOX_END + + + + True + True + True + GTK_RELIEF_NORMAL + True + 0 + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + + True + False + 2 + + + + True + gtk-properties + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Edit appointment + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + + + + + + + True + True + True + GTK_RELIEF_NORMAL + True + 0 + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + + True + False + 2 + + + + True + gtk-refresh + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Snooze + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + + + + + + + True + True + True + gtk-close + True + GTK_RELIEF_NORMAL + True + -7 + + + + + 0 + False + True + GTK_PACK_END + + - + + 12 True False - 6 + 12 - + True False 6 - + True - make_html_display - 0 - 0 - Thu, 11 Oct 2001 08:19:04 GMT + False + 6 + + + + True + make_html_display + 0 + 0 + Thu, 11 Oct 2001 08:19:04 GMT + + + 0 + True + True + + 0 @@ -55,18 +241,25 @@ - + True False 6 - + True - True - C_lose + Snooze _time (minutes): True - GTK_RELIEF_NORMAL + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + snooze-time 0 @@ -76,12 +269,16 @@ - + True True - Snoo_ze - True - GTK_RELIEF_NORMAL + 1 + 0 + False + GTK_UPDATE_ALWAYS + False + False + 5 1 1440 1 5 5 0 @@ -89,85 +286,6 @@ False - - - - True - True - _Edit appointment - True - GTK_RELIEF_NORMAL - - - 0 - False - False - - - - - 0 - True - True - - - - - 0 - True - True - - - - - - True - - - 0 - True - True - - - - - - True - False - 6 - - - - True - Snooze time (minutes) - False - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - - - 0 - False - False - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 5 1 1440 1 5 5 0 -- cgit v1.2.3