Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activities
diff options
context:
space:
mode:
authorDan Williams <dcbw@localhost.localdomain>2006-07-25 22:17:05 (GMT)
committer Dan Williams <dcbw@localhost.localdomain>2006-07-25 22:17:05 (GMT)
commite5065263a9e9a8e2295d46effab39ce35d7a1349 (patch)
tree89aa1f493b4019cb79362ca6b7b0d2dd70e882b2 /activities
parent8d232ae292cf3b3b85cd34920c5eaf915c882c8a (diff)
s/publish/share
Diffstat (limited to 'activities')
-rw-r--r--activities/browser/BrowserActivity.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/activities/browser/BrowserActivity.py b/activities/browser/BrowserActivity.py
index e9e0671..8ed39d9 100644
--- a/activities/browser/BrowserActivity.py
+++ b/activities/browser/BrowserActivity.py
@@ -105,11 +105,11 @@ class BrowserActivity(Activity):
def get_embed(self):
return self.embed
- def publish(self):
+ def share(self):
escaped_title = xml.sax.saxutils.escape(self.embed.get_title())
escaped_url = xml.sax.saxutils.escape(self.embed.get_address())
- # Publish ourselves on the network
+ # Share this activity with others
properties = {_SERVICE_URI_TAG: escaped_url, _SERVICE_TITLE_TAG: escaped_title}
self._share_service = self._pservice.share_activity(self,
stype=self._default_type, properties=properties)