aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r--calendar/gui/e-cal-model.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 26283e3b32..750e435767 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -1335,6 +1335,9 @@ e_cal_model_add_client (ECalModel *model, ECal *client)
priv = model->priv;
+ if (e_cal_model_get_client_for_uri (model, e_cal_get_uri (client)))
+ return;
+
if (e_cal_get_load_state (client) == E_CAL_LOAD_LOADED)
add_new_client (model, client);
else