aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-08-17 05:35:24 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-08-17 05:35:24 +0800
commit5c7afa96f033ea6092586bda51e960b51bc9c98c (patch)
treecb33b151e3c6a812a5d621d9d13a9505b54d5b9d /calendar
parente83ee52ce58c6909b57e2137505ad504d596a6b3 (diff)
downloadgsoc2013-evolution-5c7afa96f033ea6092586bda51e960b51bc9c98c.tar.gz
gsoc2013-evolution-5c7afa96f033ea6092586bda51e960b51bc9c98c.tar.zst
gsoc2013-evolution-5c7afa96f033ea6092586bda51e960b51bc9c98c.zip
If the component has no alarms remember to set the priv->updating flag to
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. svn path=/trunk/; revision=12128
Diffstat (limited to 'calendar')
-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;
}