aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog8
-rw-r--r--calendar/gui/e-cal-model.c1
2 files changed, 9 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index f400598a58..e827bbb4fd 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,11 @@
+2006-04-04 Irene Huang <Irene.Huang@sun.com>
+
+ Fixes bug 335214
+
+ * gui/e-cal-model.c: (e_cal_view_objects_added_cb):
+ Call e_table_model_pre_change (E_TABLE_MODEL (model)); before
+ deleting row.
+
2006-04-03 Chenthill Palanisamy <pchenthill@novell.com>
Fixes #158107
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 6d5d5ea0b1..e8cf94e22d 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -1373,6 +1373,7 @@ e_cal_view_objects_added_cb (ECalView *query, GList *objects, gpointer user_data
int pos;
pos = get_position_in_array (priv->objects, comp_data);
+ e_table_model_pre_change (E_TABLE_MODEL (model));
e_table_model_row_deleted (E_TABLE_MODEL (model), pos);
if (g_ptr_array_remove (priv->objects, comp_data))