summaryrefslogtreecommitdiff
blob: 2e742dcd76110e7fe553126c67284dfa7559bd28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- 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);
 		}