mac: fix watcher with new Initialize controller method

This commit is contained in:
Hylke Bons 2011-06-05 23:08:41 +01:00
parent 33338c2c0c
commit 1a389059d3
2 changed files with 3 additions and 3 deletions

View file

@ -34,11 +34,11 @@ namespace SparkleShare {
public SparkleMacController () : base () { } public SparkleMacController () : base () { }
new public void Initialize () public override void Initialize ()
{ {
base.Initialize (); base.Initialize ();
watcher.Changed += delegate (string path) { this.watcher.Changed += delegate (string path) {
string repo_name; string repo_name;
if (path.Contains ("/")) if (path.Contains ("/"))

View file

@ -90,7 +90,7 @@ namespace SparkleShare {
public SparkleController () { } public SparkleController () { }
public void Initialize () public virtual void Initialize ()
{ {
InstallLauncher (); InstallLauncher ();
EnableSystemAutostart (); EnableSystemAutostart ();