aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2005-04-08 02:12:50 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-04-08 02:12:50 +0800
commitfeafc5987ae184880b3a7fcc54f2f5b3e30dc76a (patch)
tree3cfc30a4510406e970e90c785dee7272d6a19f48 /calendar/gui/e-cal-model.c
parent2ccc37f3d21f348685f18dfda3b125b813669e92 (diff)
downloadgsoc2013-evolution-feafc5987ae184880b3a7fcc54f2f5b3e30dc76a.tar
gsoc2013-evolution-feafc5987ae184880b3a7fcc54f2f5b3e30dc76a.tar.gz
gsoc2013-evolution-feafc5987ae184880b3a7fcc54f2f5b3e30dc76a.tar.bz2
gsoc2013-evolution-feafc5987ae184880b3a7fcc54f2f5b3e30dc76a.tar.lz
gsoc2013-evolution-feafc5987ae184880b3a7fcc54f2f5b3e30dc76a.tar.xz
gsoc2013-evolution-feafc5987ae184880b3a7fcc54f2f5b3e30dc76a.tar.zst
gsoc2013-evolution-feafc5987ae184880b3a7fcc54f2f5b3e30dc76a.zip
If the status is busy call open method again, do not remove the client. IF
2005-04-05 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-cal-model.c: (cal_opened_cb): If the status is busy call open method again, do not remove the client. * gui/gnome-cal.c: (client_cal_opened_cb), (default_client_cal_opened_cb): IF the status is busy and the load_state is not loaded call open method. svn path=/trunk/; revision=29181
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r--calendar/gui/e-cal-model.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index f9e7de2003..ca0f16a4ba 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -1495,6 +1495,11 @@ cal_opened_cb (ECal *client, ECalendarStatus status, gpointer user_data)
ECalModel *model = (ECalModel *) user_data;
ECalModelClient *client_data;
+ if (status == E_CALENDAR_STATUS_BUSY) {
+ e_cal_open_async (client, FALSE);
+ return;
+ }
+
if (status != E_CALENDAR_STATUS_OK) {
e_cal_model_remove_client (model, client);