comment out not working code

This commit is contained in:
Hylke Bons 2010-05-20 23:17:44 +01:00
parent 68e0f6d578
commit beffdebe98

View file

@ -124,7 +124,8 @@ namespace SparkleShare {
// Watch the SparkleShare folder and pop up the // Watch the SparkleShare folder and pop up the
// Add dialog when a new folder is created // Add dialog when a new folder is created
FileSystemWatcher Watcher = new FileSystemWatcher (SparklePaths.SparklePath); // TODO: This crashes
/* FileSystemWatcher Watcher = new FileSystemWatcher (SparklePaths.SparklePath);
Watcher.IncludeSubdirectories = false; Watcher.IncludeSubdirectories = false;
Watcher.EnableRaisingEvents = true; Watcher.EnableRaisingEvents = true;
Watcher.Created += delegate (object o, FileSystemEventArgs args) { Watcher.Created += delegate (object o, FileSystemEventArgs args) {
@ -134,6 +135,7 @@ namespace SparkleShare {
SparkleDialog SparkleDialog = new SparkleDialog (); SparkleDialog SparkleDialog = new SparkleDialog ();
SparkleDialog.ShowAll (); SparkleDialog.ShowAll ();
}; };
*/
// Create place to store configuration user's home folder // Create place to store configuration user's home folder
string ConfigPath = SparklePaths.SparkleConfigPath; string ConfigPath = SparklePaths.SparkleConfigPath;
@ -158,7 +160,6 @@ namespace SparkleShare {
if (!File.Exists (NotifySettingFile)) if (!File.Exists (NotifySettingFile))
File.Create (NotifySettingFile); File.Create (NotifySettingFile);
} }
} }