Initial model and totems code

This commit is contained in:
Marco Pesenti Gritti
2006-05-12 18:09:13 -04:00
parent 343761bd8c
commit aba40b2fd9
4 changed files with 121 additions and 18 deletions
+3 -3
View File
@@ -387,12 +387,12 @@ class ChatShell(dbus.service.Object):
dbus.service.Object.__init__(self, bus_name, object_path)
def open_group_chat(self):
group_chat = GroupChat()
group_chat.activity_connect_to_shell()
self._group_chat = GroupChat()
self._group_chat.activity_connect_to_shell()
@dbus.service.method('com.redhat.Sugar.ChatShell')
def send_message(self, message):
pass
self._group_chat.send_message(message)
def main():
ChatShell.get_instance().open_group_chat()