controller: disable buggy on the fly folder deletion for now
This commit is contained in:
parent
b5ca8007cc
commit
03616932ed
|
@ -240,9 +240,9 @@ namespace SparkleShare {
|
||||||
Path = FoldersPath
|
Path = FoldersPath
|
||||||
};
|
};
|
||||||
|
|
||||||
watcher.Deleted += OnFolderActivity;
|
|
||||||
watcher.Created += OnFolderActivity;
|
watcher.Created += OnFolderActivity;
|
||||||
watcher.Renamed += OnFolderActivity;
|
// FIXME watcher.Deleted += OnFolderActivity;
|
||||||
|
// FIXME watcher.Renamed += OnFolderActivity;
|
||||||
|
|
||||||
watcher.EnableRaisingEvents = true;
|
watcher.EnableRaisingEvents = true;
|
||||||
}
|
}
|
||||||
|
@ -478,14 +478,14 @@ namespace SparkleShare {
|
||||||
HandleInvite (args);
|
HandleInvite (args);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
} else {
|
}/* else { FIXME: on the fly folder removal doesn't always work. disabling for now
|
||||||
Thread.Sleep (1000);
|
Thread.Sleep (1000);
|
||||||
|
|
||||||
if (Directory.Exists (args.FullPath) && args.ChangeType == WatcherChangeTypes.Created)
|
if (Directory.Exists (args.FullPath) && args.ChangeType == WatcherChangeTypes.Created)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
CheckRepositories ();
|
CheckRepositories ();
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue