From 5c7afa96f033ea6092586bda51e960b51bc9c98c Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 16 Aug 2001 21:35:24 +0000 Subject: If the component has no alarms remember to set the priv->updating flag to 2001-08-16 Federico Mena Quintero * 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. svn path=/trunk/; revision=12128 --- calendar/ChangeLog | 6 ++++++ calendar/gui/dialogs/alarm-page.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 + + * 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 * 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; } -- cgit