diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-11-15 16:07:15 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-11-15 16:07:15 +0800 |
commit | 92ef36c14423a66b3b3d4d0525c82642d59d6eaa (patch) | |
tree | e30f4f1cdc72877c126915de4593fcbb72318530 /calendar | |
parent | dd70f4af75d867c957fe7cb05fd49d891a40d706 (diff) | |
download | gsoc2013-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')
-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; } |