mac: fix watcher with new Initialize controller method
This commit is contained in:
parent
33338c2c0c
commit
1a389059d3
|
@ -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 ("/"))
|
||||||
|
|
|
@ -90,7 +90,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
public SparkleController () { }
|
public SparkleController () { }
|
||||||
|
|
||||||
public void Initialize ()
|
public virtual void Initialize ()
|
||||||
{
|
{
|
||||||
InstallLauncher ();
|
InstallLauncher ();
|
||||||
EnableSystemAutostart ();
|
EnableSystemAutostart ();
|
||||||
|
|
Loading…
Reference in a new issue