diff --git a/sugar/activity/activityhandle.py b/sugar/activity/activityhandle.py index 24c9d673..aab6d6a5 100644 --- a/sugar/activity/activityhandle.py +++ b/sugar/activity/activityhandle.py @@ -21,6 +21,7 @@ class ActivityHandle(object): def __init__(self, activity_id): self.activity_id = activity_id self.pservice_id = None + self.object_id = None self.uri = None def get_presence_service(self): @@ -34,6 +35,8 @@ class ActivityHandle(object): result = { 'activity_id' : self.activity_id } if self.pservice_id: result['pservice_id'] = self.pservice_id + if self.object_id: + result['object_id'] = self.object_id if self.uri: result['uri'] = self.uri @@ -43,6 +46,8 @@ def create_from_dict(handle_dict): result = ActivityHandle(handle_dict['activity_id']) if handle_dict.has_key('pservice_id'): result.pservice_id = handle_dict['pservice_id'] + if handle_dict.has_key('object_id'): + result.uri = handle_dict['object_id'] if handle_dict.has_key('uri'): result.uri = handle_dict['uri'] diff --git a/tools/build-snapshot.sh b/tools/build-snapshot.sh index 323a243e..c4cce41a 100755 --- a/tools/build-snapshot.sh +++ b/tools/build-snapshot.sh @@ -1,6 +1,6 @@ VERSION=0.63 DATE=`date +%Y%m%d` -RELEASE=2.34 +RELEASE=2.36 TARBALL=sugar-$VERSION-$RELEASE.${DATE}git.tar.bz2 rm sugar-$VERSION.tar.bz2