tasque r210 - in trunk: . src/Backends/Hiveminder src/Backends/Hiveminder/service
- From: jjohnny svn gnome org
- To: svn-commits-list gnome org
- Subject: tasque r210 - in trunk: . src/Backends/Hiveminder src/Backends/Hiveminder/service
- Date: Sun, 25 Jan 2009 03:52:36 +0000 (UTC)
Author: jjohnny
Date: Sun Jan 25 03:52:36 2009
New Revision: 210
URL: http://svn.gnome.org/viewvc/tasque?rev=210&view=rev
Log:
Hiveminder : UpdateTask for priority & Due date.
Modified:
trunk/ChangeLog
trunk/src/Backends/Hiveminder/HmTask.cs
trunk/src/Backends/Hiveminder/service/Task.cs
Modified: trunk/src/Backends/Hiveminder/HmTask.cs
==============================================================================
--- trunk/src/Backends/Hiveminder/HmTask.cs (original)
+++ trunk/src/Backends/Hiveminder/HmTask.cs Sun Jan 25 03:52:36 2009
@@ -65,8 +65,9 @@
}
return DateTime.MinValue;
}
- set {this.task.Due = value.ToString();
- Logger.Debug ("");
+ set {
+ this.task.Due = value.ToString();
+ this.backend.UpdateTask (this);
}
}
@@ -112,6 +113,7 @@
this.task.Priority = 0;
break;
}
+ this.backend.UpdateTask (this);
}
}
Modified: trunk/src/Backends/Hiveminder/service/Task.cs
==============================================================================
--- trunk/src/Backends/Hiveminder/service/Task.cs (original)
+++ trunk/src/Backends/Hiveminder/service/Task.cs Sun Jan 25 03:52:36 2009
@@ -96,7 +96,7 @@
"priority=" + this.Priority + "&" +
"complete=" + (this.IsComplete ? "1" : "0") + "&" +
"id=" + this.Id + "&" +
- "due" + this.Due + "&" +
+ "due=" + this.Due + "&" +
"started" + this.Started + "&" +
"created" + this.Created + "&" +
"group_id" + this.GroupId + "&";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]