From 1cc14e406a62a015067446976d149a1f60de5197 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 09 Jul 2006 15:37:54 +0000 Subject: More work on the window management refactor --- (limited to 'sugar/chat') diff --git a/sugar/chat/ChatWindow.py b/sugar/chat/ChatWindow.py deleted file mode 100644 index b06175d..0000000 --- a/sugar/chat/ChatWindow.py +++ /dev/null @@ -1,18 +0,0 @@ -import pygtk -pygtk.require('2.0') -import gtk - -from sugar.chat.Chat import Chat - -class ChatWindow(gtk.Window): - def __init__(self): - gtk.Window.__init__(self) - self._chat = None - - def set_chat(self, chat): - if self._chat != None: - self.remove(self._chat) - - self._chat = chat - self.add(self._chat) - self._chat.show() -- cgit v0.9.1