aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/alarm-notify/notify-main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/gui/alarm-notify/notify-main.c b/calendar/gui/alarm-notify/notify-main.c
index b20e7c5e16..2696119732 100644
--- a/calendar/gui/alarm-notify/notify-main.c
+++ b/calendar/gui/alarm-notify/notify-main.c
@@ -48,6 +48,9 @@ main (gint argc, gchar **argv)
GtkIconTheme *icon_theme;
AlarmNotify *alarm_notify_service;
UniqueApp *app;
+#ifdef G_OS_WIN32
+ gchar *path;
+#endif
bindtextdomain (GETTEXT_PACKAGE, EVOLUTION_LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
@@ -56,6 +59,13 @@ main (gint argc, gchar **argv)
g_thread_init (NULL);
dbus_g_thread_init ();
+#ifdef G_OS_WIN32
+ path = g_build_path (";", _e_get_bindir (), g_getenv ("PATH"), NULL);
+
+ if (!g_setenv ("PATH", path, TRUE))
+ g_warning ("Could not set PATH for Evolution Alarm Notifier");
+#endif
+
gtk_init (&argc, &argv);
app = unique_app_new ("org.gnome.EvolutionAlarmNotify", NULL);