aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2011-08-31 09:42:08 -0400
committerMichael Terry <michael.terry@canonical.com>2011-08-31 09:42:08 -0400
commit59d57493997f075adc49e002bd85129a9fc1f329 (patch)
treea0cdb61b726c5c35756bdace3c79bde7410ee4d7 /src/datetime-service.c
parent5298a3957ac3c81ff197a73e1f7986ead22818c2 (diff)
downloadayatana-indicator-datetime-59d57493997f075adc49e002bd85129a9fc1f329.tar.gz
ayatana-indicator-datetime-59d57493997f075adc49e002bd85129a9fc1f329.tar.bz2
ayatana-indicator-datetime-59d57493997f075adc49e002bd85129a9fc1f329.zip
disable evolution functionality when in greeter mode
Diffstat (limited to 'src/datetime-service.c')
-rw-r--r--src/datetime-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index e46b04d..57a726c 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -482,7 +482,7 @@ check_for_calendar (gpointer user_data)
dbusmenu_menuitem_property_set_bool(date, DBUSMENU_MENUITEM_PROP_ENABLED, TRUE);
gchar *evo = g_find_program_in_path("evolution");
- if (evo != NULL) {
+ if (!get_greeter_mode () && evo != NULL) {
g_debug("Found the calendar application: %s", evo);
g_signal_connect (G_OBJECT(date), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED,