From a0c4dbf53e2b3a9538bb70ea3b2e43b7fe1d91a6 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 12 Jun 2011 02:59:18 +0100 Subject: [PATCH] statusicon: wrong sign --- SparkleShare/Mac/SparkleStatusIcon.cs | 2 +- SparkleShare/SparkleStatusIcon.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SparkleShare/Mac/SparkleStatusIcon.cs b/SparkleShare/Mac/SparkleStatusIcon.cs index 65fb1ab4..3d8ea80a 100644 --- a/SparkleShare/Mac/SparkleStatusIcon.cs +++ b/SparkleShare/Mac/SparkleStatusIcon.cs @@ -239,7 +239,7 @@ namespace SparkleShare { Title = "Show Recent Events" }; - if (SparkleShare.Controller.Folders.Count > 0) { + if (SparkleShare.Controller.Folders.Count < 0) { RecentEventsMenuItem.Activated +=delegate { InvokeOnMainThread (delegate { NSApplication.SharedApplication.ActivateIgnoringOtherApps (true); diff --git a/SparkleShare/SparkleStatusIcon.cs b/SparkleShare/SparkleStatusIcon.cs index 80072252..978f702c 100644 --- a/SparkleShare/SparkleStatusIcon.cs +++ b/SparkleShare/SparkleStatusIcon.cs @@ -212,7 +212,7 @@ namespace SparkleShare { MenuItem recent_events_item = new MenuItem (_("Show Recent Events")); - if (SparkleShare.Controller.Folders.Count > 0) + if (SparkleShare.Controller.Folders.Count < 1) recent_events_item.Sensitive = false; recent_events_item.Activated += delegate {