Use the default service to get activity informations, instead

of Activity ps object.
This commit is contained in:
Marco Pesenti Gritti
2006-08-08 12:01:45 +02:00
parent 544e47cbe0
commit 2535a88645
5 changed files with 13 additions and 11 deletions
-2
View File
@@ -46,8 +46,6 @@ class BrowserActivity(Activity):
self.add(vbox)
vbox.show()
self._pservice = PresenceService()
if service:
service.connect('service-appeared', self._service_appeared_cb)
+1
View File
@@ -1,4 +1,5 @@
[Activity]
name = Terminal
id = org.sugar.Terminal
default_type = _terminal_olpc._udp
python_module = terminal.TerminalActivity.TerminalActivity