diff options
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/gnome-cal.c | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index aa7b0cd682..b2620c9554 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2006-11-15 Chenthill Palanisamy <pchenthill@novell.com> + + * gui/gnome-cal.c: (client_cal_opened_cb), + (default_client_cal_opened_cb): Diplay a warning + if calendar fails to open. + 2006-11-14 Harish Krishnaswamy <kharish@novell.com> * gui/gnome-cal.c: (gnome_calendar_destroy): 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; } |