aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/calendar-model.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c
index 2337d70ffd..e560382041 100644
--- a/calendar/gui/calendar-model.c
+++ b/calendar/gui/calendar-model.c
@@ -1262,6 +1262,7 @@ cal_loaded_cb (CalClient *client,
{
g_return_if_fail (IS_CALENDAR_MODEL (model));
+ e_table_model_pre_change (E_TABLE_MODEL (model));
load_objects (model);
e_table_model_changed (E_TABLE_MODEL (model));
}
@@ -1507,6 +1508,8 @@ calendar_model_set_cal_client (CalendarModel *model, CalClient *client, CalObjTy
if (priv->client == client && priv->type == type)
return;
+ e_table_model_pre_change (E_TABLE_MODEL(model));
+
if (client)
gtk_object_ref (GTK_OBJECT (client));