[conduit/tracker] Add ncal:contact
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit/tracker] Add ncal:contact
- Date: Fri, 19 Jun 2009 19:24:17 -0400 (EDT)
commit 17466f061f12654d4a8a9844df0a3c5758cb71cd
Author: John Carr <john carr unrouted co uk>
Date: Mon Jun 15 15:21:41 2009 +0100
Add ncal:contact
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 2277044..d04be5e 100644
--- a/conduit/modules/TrackerModule/TrackerModule.py
+++ b/conduit/modules/TrackerModule/TrackerModule.py
@@ -284,6 +284,8 @@ class TrackerCalendar(DataProvider.TwoWay):
c.lastmodified = v
elif k == "categories":
c.categories = v
+ elif k == "contact":
+ c.contact = v
elif k == "status":
# 'TENTATIVE' etc to an EventStatus instance
pass
@@ -320,6 +322,8 @@ class TrackerCalendar(DataProvider.TwoWay):
e.iCal.add('last-modified').value = value
elif key == "ncal:categories":
e.iCal.add('categories').value = value
+ elif key == "ncal:contact":
+ e.iCal.add('contact').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]