--- beagled/KopeteQueryable/KopeteQueryable.cs 29 Aug 2005 05:34:06 -0000 1.3 +++ beagled/KopeteQueryable/KopeteQueryable.cs 6 Oct 2005 12:40:52 -0000 1.4 @@ -74,8 +74,9 @@ namespace Beagle.Daemon.KopeteQueryable if (!Inotify.Enabled) { Scheduler.Task task = Scheduler.TaskFromHook (new Scheduler.TaskHook (CrawlHook)); - task.Tag = "Crawling ~/.kopete/logs to find new logfiles"; - ThisScheduler.Add (task); + task.Tag = "Crawling ~/.kopete/logs to find new logfiles"; + task.Source = this; + ThisScheduler.Add (task); } stopwatch.Stop (); --- beagled/IndexSynchronization.cs 13 Jul 2005 16:28:40 -0000 1.1 +++ beagled/IndexSynchronization.cs 6 Oct 2005 15:51:45 -0000 @@ -68,12 +68,14 @@ namespace Beagle.Daemon { task.Tag = "Synchronize Indexes"; task.Priority = Scheduler.Priority.Delayed; task.TriggerTime = DateTime.Now.AddMinutes (sync_interval_in_minutes); + task.Source = synchronization_lock; Scheduler.Global.Add (task); // Set up the shutdown synchronization task task = Scheduler.TaskFromHook (new Scheduler.TaskHook (ShutdownHook)); task.Tag = "Synchronize Indexes on Shutdown"; task.Priority = Scheduler.Priority.Shutdown; + task.Source = synchronization_lock; Scheduler.Global.Add (task); }