aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-cal-model.c4
2 files changed, 10 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 5c3a3703bb..e5e85fd19d 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2004-07-27 JP Rosevear <jpr@novell.com>
+
+ Fixes #62006
+
+ * gui/e-cal-model.c (add_new_client): don't load the events if we
+ are already doing the query
+
2004-07-25 JP Rosevear <jpr@ximian.com>
Fixes #61058
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 56d48e41fa..e5f0f8c418 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -1467,7 +1467,9 @@ add_new_client (ECalModel *model, ECal *client, gboolean do_query)
/* Look to see if we already have this client */
client_data = find_client_data (model, client);
if (client_data) {
- if (!client_data->do_query)
+ if (client_data->do_query)
+ return client_data;
+ else
client_data->do_query = do_query;
goto load;