No time to think about log

This commit is contained in:
Marco Pesenti Gritti 2006-06-16 16:33:55 -04:00
parent 0363ed5457
commit 65bd2b284f

View File

@ -78,7 +78,6 @@ class ActivityHost(dbus.service.Object):
def _create_chat(self): def _create_chat(self):
self._group_chat = GroupChat() self._group_chat = GroupChat()
self._group_chat.ref()
def get_group_chat(self): def get_group_chat(self):
return self._group_chat return self._group_chat
@ -293,7 +292,7 @@ class ActivityContainer(dbus.service.Object):
def set_current_activity(self, activity): def set_current_activity(self, activity):
self.current_activity = activity self.current_activity = activity
self._presence_window.set_activity(activity) self._presence_window.set_activity(activity)
self._chat_window.remove(self._chat_window.get_child()) self._chat_window.get_child().unparent()
host_chat = activity.get_chat() host_chat = activity.get_chat()
self._chat_window.add() self._chat_window.add()