The modify a task, you can change those values in the dictionary and then pass the modified dictionary as the task_data parameter in the modify_task method.
For reasons that I don't entirely understand, filtering on tags does not work. Everything else should work as expected. I'm hoping that somebody who is more familiar with the program's internals will be able to fix the tag filtering part.
I have implemented a D-Bus interface in revision 259 of my branch: bazaar. launchpad. net/~segphault/ gtg/couchdb- backend/ revision/ 259
http://
It supports the following methods:
get_task_ids() ids_filtered( tags, status, started_only, is_root) filtered( tags, status, started_only, is_root) editor( tid)
get_task(tid)
get_tasks()
get_task_
get_tasks_
has_task(tid)
delete_task(tid)
new_task(status, title, duedate, startdate, donedate, tags, text, subtasks)
modify_task(tid, task_data)
open_task_
hide_task_browser()
show_task_browser()
I have published some sample code that demonstrates how to use it here: gist.github. com/143430
http://
The tasks are returned as python dictionaries with the following values:
{"id": task.get_id(), due_date( ), start_date( ), closed_ date(), tags_name( ), subtasks_ tid()}
"status": task.get_status(),
"title": task.get_title(),
"duedate": task.get_
"startdate": task.get_
"donedate": task.get_
"tags": task.get_
"text": task.get_text(),
"subtask": task.get_
The modify a task, you can change those values in the dictionary and then pass the modified dictionary as the task_data parameter in the modify_task method.
For reasons that I don't entirely understand, filtering on tags does not work. Everything else should work as expected. I'm hoping that somebody who is more familiar with the program's internals will be able to fix the tag filtering part.