From f2dc2d3fb6821ebf31807bee6d509358ac8f48a4 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 2 Aug 2000 22:53:05 +0000 Subject: Emit "model_pre_change" signals as appropriate. 2000-08-02 Christopher James Lahey * gui/calendar-model.c: Emit "model_pre_change" signals as appropriate. svn path=/trunk/; revision=4493 --- calendar/ChangeLog | 5 +++++ calendar/gui/calendar-model.c | 3 +++ 2 files changed, 8 insertions(+) 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 + + * gui/calendar-model.c: Emit "model_pre_change" signals as + appropriate. + 2000-08-02 Federico Mena Quintero * 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)); -- cgit v1.2.3