aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2004-07-29 02:03:32 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-07-29 02:03:32 +0800
commit6f4d4af9f1b87ba95424542f606b044468d65651 (patch)
tree8753aabcdddf80f5550637bf34dc265dc15c3b85 /calendar/gui/e-cal-model.c
parent4250dadf6071e4754f27f6aec66a1c3d768899c6 (diff)
downloadgsoc2013-evolution-6f4d4af9f1b87ba95424542f606b044468d65651.tar.gz
gsoc2013-evolution-6f4d4af9f1b87ba95424542f606b044468d65651.tar.zst
gsoc2013-evolution-6f4d4af9f1b87ba95424542f606b044468d65651.zip
Fixes #62006
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 svn path=/trunk/; revision=26760
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r--calendar/gui/e-cal-model.c4
1 files changed, 3 insertions, 1 deletions
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;