aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2002-08-27 22:11:22 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2002-08-27 22:11:22 +0800
commit5fc8162f25cfcfdb30e4a895a1b8700ca6d4a481 (patch)
tree08f733f812dc3fbf6ffcdd6092c319099040fa22 /calendar/gui/gnome-cal.c
parent7414b866844f59e09c648863f8daa57d7258cfd0 (diff)
downloadgsoc2013-evolution-5fc8162f25cfcfdb30e4a895a1b8700ca6d4a481.tar.gz
gsoc2013-evolution-5fc8162f25cfcfdb30e4a895a1b8700ca6d4a481.tar.zst
gsoc2013-evolution-5fc8162f25cfcfdb30e4a895a1b8700ca6d4a481.zip
use EConfigListener instead of direct access to the bonobo-conf database.
2002-08-27 Rodrigo Moya <rodrigo@ximian.com> * 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
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c3
1 files changed, 2 insertions, 1 deletions
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;
}