aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/dialogs/alarm-page.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 8869af3bcc..fc10362c73 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-16 Federico Mena Quintero <federico@ximian.com>
+
+ * gui/dialogs/alarm-page.c (alarm_page_fill_widgets): If the
+ component has no alarms remember to set the priv->updating flag to
+ FALSE before returning.
+
2001-08-16 JP Rosevear <jpr@ximian.com>
* gui/dialogs/e-delegate-dialog.c
diff --git a/calendar/gui/dialogs/alarm-page.c b/calendar/gui/dialogs/alarm-page.c
index 1d3012fc9b..9cf15bafd7 100644
--- a/calendar/gui/dialogs/alarm-page.c
+++ b/calendar/gui/dialogs/alarm-page.c
@@ -490,7 +490,7 @@ alarm_page_fill_widgets (CompEditorPage *page, CalComponent *comp)
/* List */
if (!cal_component_has_alarms (comp))
- return;
+ goto out;
alarms = cal_component_get_alarm_uids (comp);
@@ -510,6 +510,8 @@ alarm_page_fill_widgets (CompEditorPage *page, CalComponent *comp)
}
cal_obj_uid_list_free (alarms);
+ out:
+
priv->updating = FALSE;
}