tasque r213 - in trunk: . src/Backends/Hiveminder



Author: jjohnny
Date: Sun Feb  8 18:22:38 2009
New Revision: 213
URL: http://svn.gnome.org/viewvc/tasque?rev=213&view=rev

Log:
Hiveminder : CompleteTask added.

Modified:
   trunk/ChangeLog
   trunk/src/Backends/Hiveminder/HmTask.cs

Modified: trunk/src/Backends/Hiveminder/HmTask.cs
==============================================================================
--- trunk/src/Backends/Hiveminder/HmTask.cs	(original)
+++ trunk/src/Backends/Hiveminder/HmTask.cs	Sun Feb  8 18:22:38 2009
@@ -209,7 +209,7 @@
 		#region Methods	
 		public override void Activate ()
 		{
-			Logger.Info ("Not implemented");
+			Logger.Info ("Activate : Not implemented");
 		}
 		
 		/// <summary>
@@ -217,7 +217,9 @@
 		/// </summary>
 		public override void Inactivate ()
 		{
-			Logger.Info ("Not implemented");
+			Logger.Info ("Inactivate " + Name);
+			this.task.IsComplete = true;
+			this.backend.UpdateTask (this);
 		}
 		
 		/// <summary>
@@ -225,7 +227,9 @@
 		/// </summary>
 		public override void Complete ()
 		{
-			Logger.Info ("Not implemented");
+                       Logger.Debug ("Complete : " + Name);
+                       this.task.IsComplete = true;
+		       this.backend.UpdateTask (this);
 		}
 		
 		/// <summary>
@@ -233,7 +237,7 @@
 		/// </summary>
 		public override void Delete ()
 		{
-			Logger.Info ("Not implemented");
+			Logger.Info ("Delete : Not implemented");
 		}
 		
 		/// <summary>
@@ -244,7 +248,7 @@
 		/// </param>
 		public override INote CreateNote(string text)
 		{
-			Logger.Info ("Not implemented");
+			Logger.Info ("CreateNote : Not implemented");
 			return null;
 		}
 		



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]