diff options
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/dialogs/task-details-page.c | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 5f69455242..d60ab5b902 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2001-07-12 JP Rosevear <jpr@ximian.com> + + * gui/dialogs/task-details-page.c (task_details_page_set_dates): + guard against infinite loops with the updating boolean, fixes 4270 + 2001-07-12 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-table.c: added support for multiple selections in diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c index 1af190a201..6212e8f76f 100644 --- a/calendar/gui/dialogs/task-details-page.c +++ b/calendar/gui/dialogs/task-details-page.c @@ -387,6 +387,11 @@ task_details_page_set_dates (CompEditorPage *page, CompEditorPageDates *dates) tdpage = TASK_DETAILS_PAGE (page); priv = tdpage->priv; + if (priv->updating) + return; + + priv->updating = TRUE; + comp_editor_date_label (dates, priv->date_time); if (dates->complete) { @@ -412,6 +417,8 @@ task_details_page_set_dates (CompEditorPage *page, CompEditorPageDates *dates) tt->hour, tt->minute); } } + + priv->updating = FALSE; } |