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 | |
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')
-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; } |