aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-03 06:53:05 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-03 06:53:05 +0800
commitf2dc2d3fb6821ebf31807bee6d509358ac8f48a4 (patch)
tree41b5acfc10f48b08770a821f1485020b91bd561c
parent4715c96fb61680a2fd424eae96053e2cc0bc3ada (diff)
downloadgsoc2013-evolution-f2dc2d3fb6821ebf31807bee6d509358ac8f48a4.tar
gsoc2013-evolution-f2dc2d3fb6821ebf31807bee6d509358ac8f48a4.tar.gz
gsoc2013-evolution-f2dc2d3fb6821ebf31807bee6d509358ac8f48a4.tar.bz2
gsoc2013-evolution-f2dc2d3fb6821ebf31807bee6d509358ac8f48a4.tar.lz
gsoc2013-evolution-f2dc2d3fb6821ebf31807bee6d509358ac8f48a4.tar.xz
gsoc2013-evolution-f2dc2d3fb6821ebf31807bee6d509358ac8f48a4.tar.zst
gsoc2013-evolution-f2dc2d3fb6821ebf31807bee6d509358ac8f48a4.zip
Emit "model_pre_change" signals as appropriate.
2000-08-02 Christopher James Lahey <clahey@helixcode.com> * gui/calendar-model.c: Emit "model_pre_change" signals as appropriate. svn path=/trunk/; revision=4493
-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));