aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2005-02-04 19:22:52 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-02-04 19:22:52 +0800
commit958515a10ad2c5fd363381fed9a317c29433a04d (patch)
tree7ba8a047dc1a70a01824da38fac4b087b14e00d5 /calendar/gui/e-week-view.c
parentccecf5ce111a42dadfb0bf9a90aa2756d2361fc1 (diff)
downloadgsoc2013-evolution-958515a10ad2c5fd363381fed9a317c29433a04d.tar.gz
gsoc2013-evolution-958515a10ad2c5fd363381fed9a317c29433a04d.tar.zst
gsoc2013-evolution-958515a10ad2c5fd363381fed9a317c29433a04d.zip
Fixes #71265
2005-02-04 Rodrigo Moya <rodrigo@novell.com> Fixes #71265 * gui/e-week-view.c (e_week_view_remove_event_cb): * gui/e-day-view.c (e_day_view_remove_event_cb): if we remove the event we were editing, update internal pointers. svn path=/trunk/; revision=28707
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r--calendar/gui/e-week-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index d829675624..684d278d84 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -1913,6 +1913,9 @@ e_week_view_remove_event_cb (EWeekView *week_view,
if (week_view->editing_event_num == event_num)
week_view->editing_event_num = -1;
+ if (week_view->popup_event_num == event_num)
+ week_view->popup_event_num = -1;
+
/* We leave the span elements in the array, but set the canvas item
pointers to NULL. */
for (span_num = 0; span_num < event->num_spans; span_num++) {