From 6f4d4af9f1b87ba95424542f606b044468d65651 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 28 Jul 2004 18:03:32 +0000 Subject: Fixes #62006 2004-07-27 JP Rosevear 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 --- calendar/ChangeLog | 7 +++++++ calendar/gui/e-cal-model.c | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'calendar') 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 + + 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 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; -- cgit