← Back to team overview

ayatana-commits team mailing list archive

[Merge] lp:~mterry/indicator-datetime/no-evo-when-in-greeter into lp:indicator-datetime

 

Michael Terry has proposed merging lp:~mterry/indicator-datetime/no-evo-when-in-greeter into lp:indicator-datetime.

Requested reviews:
  Indicator Applet Developers (indicator-applet-developers)
Related bugs:
  Bug #836521 in Indicator Date and Time: "User can access mail client if "Add Event" is selected from Date/Time menu in Unity-Greeter"
  https://bugs.launchpad.net/indicator-datetime/+bug/836521

For more details, see:
https://code.launchpad.net/~mterry/indicator-datetime/no-evo-when-in-greeter/+merge/73533
-- 
https://code.launchpad.net/~mterry/indicator-datetime/no-evo-when-in-greeter/+merge/73533
Your team ayatana-commits is subscribed to branch lp:indicator-datetime.
=== modified file 'src/datetime-service.c'
--- src/datetime-service.c	2011-08-17 19:56:03 +0000
+++ src/datetime-service.c	2011-08-31 13:44:22 +0000
@@ -482,7 +482,7 @@
 	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,


Follow ups