statusicon linux: only enable Show Recent Events when there are folders

This commit is contained in:
Hylke Bons 2011-06-12 02:47:43 +01:00
parent a7eef99be2
commit 097199bd95

View file

@ -212,7 +212,7 @@ namespace SparkleShare {
MenuItem recent_events_item = new MenuItem (_("Show Recent Events"));
if (SparkleShare.Controller.FirstRun)
if (SparkleShare.Controller.Folders.Count > 0)
recent_events_item.Sensitive = false;
recent_events_item.Activated += delegate {