Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activities/browser/BrowserActivity.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-09-02 08:54:34 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-09-02 08:54:34 (GMT)
commit58a79eb1234f1681af033ff8711c3dbc6baa00b0 (patch)
tree97c3bdabc8ddc97ba885d17883410ba0914c1cb6 /activities/browser/BrowserActivity.py
parent8ffff18bc330540d38a8188a79e53467dcf19874 (diff)
Get rid of default type from the activity definition.
Modify code to use activity type id instead, except from mapping service to activity.
Diffstat (limited to 'activities/browser/BrowserActivity.py')
-rw-r--r--activities/browser/BrowserActivity.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/activities/browser/BrowserActivity.py b/activities/browser/BrowserActivity.py
index f702570..a8c795a 100644
--- a/activities/browser/BrowserActivity.py
+++ b/activities/browser/BrowserActivity.py
@@ -51,8 +51,7 @@ class BrowserActivity(Activity):
activity_ps.connect('service-appeared', self._service_appeared_cb)
- default_type = self.get_default_type()
- services = activity_ps.get_services_of_type(default_type)
+ services = activity_ps.get_services_of_type(self._default_type)
if len(services) > 0:
self._notif_service = services[0]