aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorIrene Huang <Irene.Huang@sun.com>2006-04-04 10:42:59 +0800
committerIrene Huang <ireneh@src.gnome.org>2006-04-04 10:42:59 +0800
commitb13ad5dae71341934e266f64b6d14af4212974ab (patch)
tree513e881429deeb796ef93cac16bce1ab4ea613a5 /calendar
parent998f971fb8973f07e59e39957e23ee10e36f5c61 (diff)
downloadgsoc2013-evolution-b13ad5dae71341934e266f64b6d14af4212974ab.tar
gsoc2013-evolution-b13ad5dae71341934e266f64b6d14af4212974ab.tar.gz
gsoc2013-evolution-b13ad5dae71341934e266f64b6d14af4212974ab.tar.bz2
gsoc2013-evolution-b13ad5dae71341934e266f64b6d14af4212974ab.tar.lz
gsoc2013-evolution-b13ad5dae71341934e266f64b6d14af4212974ab.tar.xz
gsoc2013-evolution-b13ad5dae71341934e266f64b6d14af4212974ab.tar.zst
gsoc2013-evolution-b13ad5dae71341934e266f64b6d14af4212974ab.zip
Fixes bug 335214
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. svn path=/trunk/; revision=31760
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))