statusicon linux: only enable Show Recent Events when there are folders
This commit is contained in:
parent
a7eef99be2
commit
097199bd95
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue