diff options
author | JP Rosevear <jpr@ximian.com> | 2001-07-13 00:49:47 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-07-13 00:49:47 +0800 |
commit | 0f153dd0156176a5e78b81c1519ef9dc602a370e (patch) | |
tree | 3e3df274e6e4d0a19ad58a944815d0c2061ddd8d /calendar/gui/dialogs | |
parent | 026065f2fd95224568cbd893191908d75f3d4e7c (diff) | |
download | gsoc2013-evolution-0f153dd0156176a5e78b81c1519ef9dc602a370e.tar.gz gsoc2013-evolution-0f153dd0156176a5e78b81c1519ef9dc602a370e.tar.zst gsoc2013-evolution-0f153dd0156176a5e78b81c1519ef9dc602a370e.zip |
guard against infinite loops with the updating boolean, fixes 4270
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
svn path=/trunk/; revision=11045
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/task-details-page.c | 7 |
1 files changed, 7 insertions, 0 deletions
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; } |