diff options
author | Ted Gould <ted@gould.cx> | 2011-08-31 15:05:14 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-08-31 15:05:14 -0500 |
commit | cfd56b9c2492653b92ce573380f0a06cbde699b7 (patch) | |
tree | a0cdb61b726c5c35756bdace3c79bde7410ee4d7 /src | |
parent | 5298a3957ac3c81ff197a73e1f7986ead22818c2 (diff) | |
parent | 59d57493997f075adc49e002bd85129a9fc1f329 (diff) | |
download | ayatana-indicator-datetime-cfd56b9c2492653b92ce573380f0a06cbde699b7.tar.gz ayatana-indicator-datetime-cfd56b9c2492653b92ce573380f0a06cbde699b7.tar.bz2 ayatana-indicator-datetime-cfd56b9c2492653b92ce573380f0a06cbde699b7.zip |
Check for greeter mode to whether we should show Evolution options.
Diffstat (limited to 'src')
-rw-r--r-- | src/datetime-service.c | 2 |
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, |