aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2006-11-15 16:07:15 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2006-11-15 16:07:15 +0800
commit92ef36c14423a66b3b3d4d0525c82642d59d6eaa (patch)
treee30f4f1cdc72877c126915de4593fcbb72318530 /calendar/gui/gnome-cal.c
parentdd70f4af75d867c957fe7cb05fd49d891a40d706 (diff)
downloadgsoc2013-evolution-92ef36c14423a66b3b3d4d0525c82642d59d6eaa.tar.gz
gsoc2013-evolution-92ef36c14423a66b3b3d4d0525c82642d59d6eaa.tar.zst
gsoc2013-evolution-92ef36c14423a66b3b3d4d0525c82642d59d6eaa.zip
Display a warning message when calendar fails to load.
svn path=/trunk/; revision=32984
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index b58a75bc08..5b80084fc2 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -2587,6 +2587,8 @@ client_cal_opened_cb (ECal *ecal, ECalendarStatus status, GnomeCalendar *gcal)
gtk_signal_emit (GTK_OBJECT (gcal), gnome_calendar_signals[SOURCE_REMOVED], source_type, source);
g_object_unref (source);
+ g_warning ("Unable to load the calendar %s \n", e_cal_get_error_message (status));
+
return;
}
@@ -2689,6 +2691,8 @@ default_client_cal_opened_cb (ECal *ecal, ECalendarStatus status, GnomeCalendar
gtk_signal_emit (GTK_OBJECT (gcal), gnome_calendar_signals[SOURCE_REMOVED], source_type, source);
g_object_unref (source);
+ g_warning ("Unable to load the calendar %s \n", e_cal_get_error_message (status));
+
return;
}