From 3c8ba7a13ff813aa4be767ca3db8813ce99566fc Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 25 Jun 2004 13:37:39 +0000 Subject: free old_summary (is_custom_alarm): take description into account when 004-06-25 JP Rosevear * gui/dialogs/event-page.c (event_page_finalize): free old_summary (is_custom_alarm): take description into account when checking for custom alarm (is_custom_alarm_uid_list): pass old_summary (is_custom_alarm_store): ditto (is_custom_alarm_store): ditto (sensitize_widgets): ditto (event_page_fill_component): ditto (event_page_fill_widgets): store the initial summary (alarm_changed_cb): make sure the needs description property gets set on the default alarm (alarm_custom_clicked_cb): copy the current store in case the user hits cancel, if all the alarms are erased uncheck the alarm toggle * gui/dialogs/alarm-dialog.glade: add toggles for custom messages and sound * gui/dialogs/alarm-dialog.c (aalarm_widgets_to_alarm): store custom sound only if the toggle is checked (dalarm_widgets_to_alarm): store custom message only if toggle is checked (get_widgets): load new widgets (aalarm_sound_toggled_cb): sensitize sound entry (dalarm_message_toggled_cb): sensitize message entry (init_widgets): listen for toggle signals svn path=/trunk/; revision=26511 --- calendar/gui/dialogs/alarm-dialog.glade | 194 +++++++++++++++++++++----------- 1 file changed, 127 insertions(+), 67 deletions(-) (limited to 'calendar/gui/dialogs/alarm-dialog.glade') diff --git a/calendar/gui/dialogs/alarm-dialog.glade b/calendar/gui/dialogs/alarm-dialog.glade index b5f869e82a..3c1c47ae38 100644 --- a/calendar/gui/dialogs/alarm-dialog.glade +++ b/calendar/gui/dialogs/alarm-dialog.glade @@ -368,7 +368,7 @@ True True True - Repeat the alarm + _Repeat the alarm True GTK_RELIEF_NORMAL False @@ -572,34 +572,34 @@ True False - 0 + 6 - + True - False - 6 + True + Custom _message + True + GTK_RELIEF_NORMAL + False + False + True + + + 0 + False + False + + - - - True - Message to Display: - False - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - - - 0 - False - False - - + + + True + 1 + 2 + False + 6 + 6 @@ -628,15 +628,41 @@ - 0 - True - True + 1 + 2 + 0 + 1 + fill + + + + + + True + Mes_sage: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0 + 0 + 0 + + + 0 + 1 + 0 + 1 + fill + fill 0 - False + True True @@ -670,7 +696,25 @@ True False - 0 + 6 + + + + True + True + Custom alarm sound + True + GTK_RELIEF_NORMAL + False + False + True + + + 0 + False + False + + @@ -681,8 +725,8 @@ True - Play sound: - False + _Sound: + True False GTK_JUSTIFY_CENTER False @@ -691,6 +735,7 @@ 0.5 0 0 + aalarm-attach 0 @@ -766,29 +811,61 @@ 0 - + True + 2 + 2 False - 6 + 6 + 6 True - Run program: - False + _Program: + True False GTK_JUSTIFY_CENTER False False - 0.5 + 0 0.5 0 0 + palarm-program - 0 - False - False + 0 + 1 + 0 + 1 + fill + + + + + + + True + _Arguments: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + palarm-args + + + 0 + 1 + 1 + 2 + fill + @@ -805,30 +882,11 @@ False - 0 - True - True - - - - - - True - With these arguments: - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - - - 0 - False - False + 1 + 2 + 0 + 1 + @@ -845,9 +903,11 @@ False - 0 - True - True + 1 + 2 + 1 + 2 + -- cgit