From 5fc8162f25cfcfdb30e4a895a1b8700ca6d4a481 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Tue, 27 Aug 2002 14:11:22 +0000 Subject: use EConfigListener instead of direct access to the bonobo-conf database. 2002-08-27 Rodrigo Moya * gui/calendar-config.c: use EConfigListener instead of direct access to the bonobo-conf database. (calendar_config_init): create the EConfigListener here, and install an atexit function to unref the config listener object. (config_read, property_change_cb, calendar_config_write, calendar_config_write_on_exit): removed unneeded functions. (calendar_config_get_*, calendar_config_set_*): changed to make use of EConfigListener directly. * gui/main.c (main): removed call to calendar_config_write_on_exit. * gui/dialogs/cal-prefs-dialog.c (update_config): removed call to calendar_config_write. svn path=/trunk/; revision=17874 --- calendar/gui/gnome-cal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui/gnome-cal.c') diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 939b4c6d5c..a94dd0e659 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1891,7 +1891,8 @@ add_alarms (const char *uri) an = oaf_activate_from_id ("OAFIID:GNOME_Evolution_Calendar_AlarmNotify", 0, NULL, &ev); if (BONOBO_EX (&ev)) { - g_message ("add_alarms(): Could not activate the alarm notification service"); + g_warning ("add_alarms(): Could not activate the alarm notification service: %s", + CORBA_exception_id (&ev)); CORBA_exception_free (&ev); return; } -- cgit v1.2.3