From 1a389059d3146d407de27621e6228d2bff4313b0 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 5 Jun 2011 23:08:41 +0100 Subject: [PATCH] mac: fix watcher with new Initialize controller method --- SparkleShare/Mac/SparkleMacController.cs | 4 ++-- SparkleShare/SparkleController.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SparkleShare/Mac/SparkleMacController.cs b/SparkleShare/Mac/SparkleMacController.cs index 6515080b..b3902f7c 100644 --- a/SparkleShare/Mac/SparkleMacController.cs +++ b/SparkleShare/Mac/SparkleMacController.cs @@ -34,11 +34,11 @@ namespace SparkleShare { public SparkleMacController () : base () { } - new public void Initialize () + public override void Initialize () { base.Initialize (); - watcher.Changed += delegate (string path) { + this.watcher.Changed += delegate (string path) { string repo_name; if (path.Contains ("/")) diff --git a/SparkleShare/SparkleController.cs b/SparkleShare/SparkleController.cs index b32d439d..250f1347 100644 --- a/SparkleShare/SparkleController.cs +++ b/SparkleShare/SparkleController.cs @@ -90,7 +90,7 @@ namespace SparkleShare { public SparkleController () { } - public void Initialize () + public virtual void Initialize () { InstallLauncher (); EnableSystemAutostart ();