aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-08-09 08:56:37 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-08-09 08:56:37 +0800
commit574b671429269a1d80b4d74d59f583a2cd1bcf44 (patch)
treedf1f11cb1357cc26e517c8294091e89429d2f16b
parentd73557c1db05b893da63049644368f039b74ff29 (diff)
downloadgsoc2013-evolution-574b671429269a1d80b4d74d59f583a2cd1bcf44.tar
gsoc2013-evolution-574b671429269a1d80b4d74d59f583a2cd1bcf44.tar.gz
gsoc2013-evolution-574b671429269a1d80b4d74d59f583a2cd1bcf44.tar.bz2
gsoc2013-evolution-574b671429269a1d80b4d74d59f583a2cd1bcf44.tar.lz
gsoc2013-evolution-574b671429269a1d80b4d74d59f583a2cd1bcf44.tar.xz
gsoc2013-evolution-574b671429269a1d80b4d74d59f583a2cd1bcf44.tar.zst
gsoc2013-evolution-574b671429269a1d80b4d74d59f583a2cd1bcf44.zip
Stop editing any event. Fixes bug #5949.
2001-08-08 Federico Mena Quintero <federico@ximian.com> * gui/e-day-view.c (update_query): Stop editing any event. Fixes bug #5949. svn path=/trunk/; revision=11807
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-day-view.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index be47d5db3d..2cb2ad1e7c 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2001-08-08 Federico Mena Quintero <federico@ximian.com>
+ * gui/e-day-view.c (update_query): Stop editing any event. Fixes
+ bug #5949.
+
+2001-08-08 Federico Mena Quintero <federico@ximian.com>
+
* gui/dialogs/alarm-page.c (alarm_page_fill_component): Duuuh, set
the alarm_copy on the component, not the original alarm. Fixes
bug #5214.
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 560efd0ffa..7c3879fc13 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -1597,6 +1597,8 @@ update_query (EDayView *day_view)
CalQuery *old_query;
char *real_sexp;
+ e_day_view_stop_editing_event (day_view);
+
e_day_view_free_events (day_view);
gtk_widget_queue_draw (day_view->top_canvas);
gtk_widget_queue_draw (day_view->main_canvas);