aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/importers/icalendar-importer.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/importers/icalendar-importer.c')
-rw-r--r--calendar/importers/icalendar-importer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/importers/icalendar-importer.c b/calendar/importers/icalendar-importer.c
index 6899679bc0..b8168ff39e 100644
--- a/calendar/importers/icalendar-importer.c
+++ b/calendar/importers/icalendar-importer.c
@@ -27,6 +27,7 @@
#include <gtk/gtkhbox.h>
#include <gtk/gtkmain.h>
#include <libgnome/gnome-util.h>
+#include <libgnome/gnome-i18n.h>
#include <bonobo/bonobo-control.h>
#include <bonobo/bonobo-exception.h>
#include <cal-client.h>
@@ -92,7 +93,7 @@ connect_to_shell (ICalImporter *ici)
GNOME_Evolution_Shell corba_shell;
CORBA_exception_init (&ev);
- corba_shell = oaf_activate_from_id (E_SHELL_OAFIID, 0, NULL, &ev);
+ corba_shell = bonobo_activation_activate_from_id (E_SHELL_OAFIID, 0, NULL, &ev);
if (BONOBO_EX (&ev)) {
CORBA_exception_free (&ev);
return;
@@ -481,7 +482,7 @@ load_vcalendar_file (const char *filename)
defaults.alarm_audio_url = "file://" EVOLUTION_SOUNDDIR "/default_alarm.wav";
defaults.alarm_audio_fmttype = "audio/x-wav";
- defaults.alarm_description = (char*) U_("Reminder!!");
+ defaults.alarm_description = (char*) _("Reminder!!");
contents = read_file (filename);