From 65bd2b284f0e3eb6f4f306d1d4487cb66a33fe52 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 16 Jun 2006 16:33:55 -0400 Subject: [PATCH] No time to think about log --- sugar/shell/shell.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sugar/shell/shell.py b/sugar/shell/shell.py index cc484bca..b7d9f608 100755 --- a/sugar/shell/shell.py +++ b/sugar/shell/shell.py @@ -78,7 +78,6 @@ class ActivityHost(dbus.service.Object): def _create_chat(self): self._group_chat = GroupChat() - self._group_chat.ref() def get_group_chat(self): return self._group_chat @@ -293,7 +292,7 @@ class ActivityContainer(dbus.service.Object): def set_current_activity(self, activity): self.current_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() self._chat_window.add()