[conduit/tracker] Map priority
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit/tracker] Map priority
- Date: Mon, 15 Jun 2009 09:38:15 -0400 (EDT)
commit d8a9f6c9a5362cdfca5b52d5484b5ba5c5f95eaa
Author: John Carr <john carr unrouted co uk>
Date: Mon Jun 15 14:09:31 2009 +0100
Map priority
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 0c1f3ce..7782d4f 100644
--- a/conduit/modules/TrackerModule/TrackerModule.py
+++ b/conduit/modules/TrackerModule/TrackerModule.py
@@ -276,6 +276,8 @@ class TrackerCalendar(DataProvider.TwoWay):
c.recurrenceid = v
elif k == "location":
c.location = v
+ elif k == "priority":
+ c.priority = priority
elif k == "status":
# 'TENTATIVE' etc to an EventStatus instance
pass
@@ -306,6 +308,8 @@ class TrackerCalendar(DataProvider.TwoWay):
e.iCal.add('recurrence-id').value = value
elif key == "ncal:location":
e.iCal.add('location').value = value
+ elif key == "ncal:priority"):
+ e.iCal.add('priority').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]