[conduit/tracker] Map categories
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit/tracker] Map categories
- Date: Fri, 19 Jun 2009 19:24:12 -0400 (EDT)
commit 328a551ccaa257071577f62d77566fa4facf48c1
Author: John Carr <john carr unrouted co uk>
Date: Mon Jun 15 15:00:18 2009 +0100
Map categories
conduit/modules/TrackerModule/TrackerModule.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/conduit/modules/TrackerModule/TrackerModule.py b/conduit/modules/TrackerModule/TrackerModule.py
index d8707a5..2277044 100644
--- a/conduit/modules/TrackerModule/TrackerModule.py
+++ b/conduit/modules/TrackerModule/TrackerModule.py
@@ -282,6 +282,8 @@ class TrackerCalendar(DataProvider.TwoWay):
c.priority = v
elif k == "last-modified":
c.lastmodified = v
+ elif k == "categories":
+ c.categories = v
elif k == "status":
# 'TENTATIVE' etc to an EventStatus instance
pass
@@ -316,6 +318,8 @@ class TrackerCalendar(DataProvider.TwoWay):
e.iCal.add('priority').value = value
elif key == "ncal:lastModified":
e.iCal.add('last-modified').value = value
+ elif key == "ncal:categories":
+ e.iCal.add('categories').value = value
elif key == "ncal:status":
# An instance of ncal:EventStatus to represent TENTATIVE etc
pass
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]