aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/calendar-model.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 0e156caa66..5eed06a2dc 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-02 Christopher James Lahey <clahey@helixcode.com>
+
+ * gui/calendar-model.c: Emit "model_pre_change" signals as
+ appropriate.
+
2000-08-02 Federico Mena Quintero <federico@helixcode.com>
* pcs/cal-backend-file.[ch]: New files for the iCalendar file
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));