From 4be389206bca0035db6d8cf245c23a16c12e8fa1 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 27 Sep 2001 00:16:24 +0000 Subject: Fixes the GUI part of bug #7892. 2001-09-26 Federico Mena Quintero Fixes the GUI part of bug #7892. * gui/dialogs/alarm-page.c (get_alarm_duration_string): Return NULL if the duration is zero. (get_alarm_string): Handle duration of zero. Also, hopefully make the strings be more l10n-friendly. * gui/alarm-notify/alarm.c (alarm_ready_cb): I am a moron. Fix reversed test. svn path=/trunk/; revision=13182 --- calendar/gui/alarm-notify/alarm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/alarm-notify') diff --git a/calendar/gui/alarm-notify/alarm.c b/calendar/gui/alarm-notify/alarm.c index 0fa24f66ce..f750ed515c 100644 --- a/calendar/gui/alarm-notify/alarm.c +++ b/calendar/gui/alarm-notify/alarm.c @@ -106,7 +106,7 @@ alarm_ready_cb (gpointer data) * re-entered and added an alarm of its own, so the timer will * already be set up. */ - if (timeout_id != 0) + if (timeout_id == 0) setup_timeout (now); } else g_assert (timeout_id == 0); -- cgit v1.2.3