diff --git a/shell/ActivitiesModel.py b/shell/ActivitiesModel.py index 8a7ba687..af45b0de 100644 --- a/shell/ActivitiesModel.py +++ b/shell/ActivitiesModel.py @@ -16,7 +16,7 @@ class ActivityInfo: return self._service.get_type() def get_title(self): - return "FIXME Title" + return self._service.get_published_value('title') def get_service(self): return self._service diff --git a/sugar/activity/Activity.py b/sugar/activity/Activity.py index 9996120c..745a6c77 100644 --- a/sugar/activity/Activity.py +++ b/sugar/activity/Activity.py @@ -212,4 +212,6 @@ class Activity(gtk.Window): def share(self): """Called to request the activity to share itself on the network.""" - self._service = self._pservice.share_activity(self, self._default_type) + properties = { 'title' : self.get_title() } + self._service = self._pservice.share_activity(self, self._default_type, + properties)