Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activities
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-08-07 09:08:10 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-08-07 09:08:10 (GMT)
commitd919848324317aa633464313c0f7609a035f096f (patch)
tree618fa580759a657ce53cb05760dd19764833bb3e /activities
parent167dbec0f5b66536e4096cd1d4d335200586feba (diff)
Rework to not use protected API
Diffstat (limited to 'activities')
-rw-r--r--activities/chat/ChatActivity.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/activities/chat/ChatActivity.py b/activities/chat/ChatActivity.py
index 64ff3a3..6ced1db 100644
--- a/activities/chat/ChatActivity.py
+++ b/activities/chat/ChatActivity.py
@@ -37,7 +37,8 @@ class ChatShellDbusService(dbus.service.Object):
object_path = '/com/redhat/Sugar/Chat'
dbus.service.Object.__init__(self, bus_name, object_path)
- @dbus.service.method('com.redhat.Sugar.ChatShell')
+ @dbus.service.method('com.redhat.Sugar.ChatShell',
+ in_signature="o", out_signature="")
def open_chat(self, service_path):
self._parent.open_chat_from_path(service_path)
@@ -75,7 +76,7 @@ class ChatListener:
return
def open_chat_from_path(self, service_path):
- service = self._pservice._new_object(service_path)
+ service = self._pservice.get(service_path)
self.open_chat(service)
def open_chat(self, service):