tasque r132 - in trunk: . src
- From: sharm svn gnome org
- To: svn-commits-list gnome org
- Subject: tasque r132 - in trunk: . src
- Date: Wed, 8 Oct 2008 13:44:15 +0000 (UTC)
Author: sharm
Date: Wed Oct 8 13:44:14 2008
New Revision: 132
URL: http://svn.gnome.org/viewvc/tasque?rev=132&view=rev
Log:
* tasque/src/RemoteControl.cs: Accidentally committed Alex Launi's patch
for bug #555028, which adds a bunch of really useful dbus methods:
GetTaskIds, GetNameForTaskById, GetCategoryForTaskById,
GetStateForTaskById, and MarkTaskAsCompleteById. In this commit I'm
commenting-out MarkTaskAsCompleteById because it still needs to be
reviewed.
Modified:
trunk/ChangeLog
trunk/src/RemoteControl.cs
Modified: trunk/src/RemoteControl.cs
==============================================================================
--- trunk/src/RemoteControl.cs (original)
+++ trunk/src/RemoteControl.cs Wed Oct 8 13:44:14 2008
@@ -223,25 +223,25 @@
return task != null ? (int) task.State : -1;
}
- /// <summary>
- /// Marks a task complete
- /// </summary>
- /// <param name="id">
- /// A <see cref="System.String"/> for the ID of the task
- /// </param>
- public void MarkTaskAsCompleteById (string id)
- {
- ITask task = GetTaskById (id);
- if (task == null)
- return;
-
- if (task.State == TaskState.Active) {
- if (Application.Preferences.GetBool (Preferences.ShowCompletedTasksKey))
- task.Complete ();
- else
- task.Inactivate ();
- }
- }
+// /// <summary>
+// /// Marks a task complete
+// /// </summary>
+// /// <param name="id">
+// /// A <see cref="System.String"/> for the ID of the task
+// /// </param>
+// public void MarkTaskAsCompleteById (string id)
+// {
+// ITask task = GetTaskById (id);
+// if (task == null)
+// return;
+//
+// if (task.State == TaskState.Active) {
+// if (Application.Preferences.GetBool (Preferences.ShowCompletedTasksKey))
+// task.Complete ();
+// else
+// task.Inactivate ();
+// }
+// }
/// <summary>
/// Looks up a task by ID in the backend
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]