aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-09-27 08:16:24 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-09-27 08:16:24 +0800
commit4be389206bca0035db6d8cf245c23a16c12e8fa1 (patch)
tree4407c9eeeee1a39807f8476f648df6a9ad094335 /calendar/gui/alarm-notify
parent0d1f3b890ac279e56731656fafec7ba738300da6 (diff)
downloadgsoc2013-evolution-4be389206bca0035db6d8cf245c23a16c12e8fa1.tar
gsoc2013-evolution-4be389206bca0035db6d8cf245c23a16c12e8fa1.tar.gz
gsoc2013-evolution-4be389206bca0035db6d8cf245c23a16c12e8fa1.tar.bz2
gsoc2013-evolution-4be389206bca0035db6d8cf245c23a16c12e8fa1.tar.lz
gsoc2013-evolution-4be389206bca0035db6d8cf245c23a16c12e8fa1.tar.xz
gsoc2013-evolution-4be389206bca0035db6d8cf245c23a16c12e8fa1.tar.zst
gsoc2013-evolution-4be389206bca0035db6d8cf245c23a16c12e8fa1.zip
Fixes the GUI part of bug #7892.
2001-09-26 Federico Mena Quintero <federico@ximian.com> 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
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r--calendar/gui/alarm-notify/alarm.c2
1 files changed, 1 insertions, 1 deletions
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);