Author: nicfit Date: 2007-12-16 04:13:57 +0100 (Sun, 16 Dec 2007) New Revision: 9160
Modified: branches/one_window/src/message_window.py Log: Removed FIXME
Modified: branches/one_window/src/message_window.py =================================================================== --- branches/one_window/src/message_window.py 2007-12-16 02:49:30 UTC (rev 9159) +++ branches/one_window/src/message_window.py 2007-12-16 03:13:57 UTC (rev 9160) @@ -192,6 +192,8 @@ for ctrl in self.controls(): ctrl.shutdown() self._controls.clear() + # Clean up handlers connected to the parent window, this is important since + # self.window may be the RosterWindow for i in self.handlers.keys(): if self.handlers[i].handler_is_connected(i): self.handlers[i].disconnect(i) @@ -750,7 +752,6 @@ parent_win = self.parent_win parent_paned = self.parent_paned win = MessageWindow(acct, type, parent_win, parent_paned) - # FIXME: how are these done for roster combo # we track the lifetime of this window win.window.connect('delete-event', self._on_window_delete) win.window.connect('destroy', self._on_window_destroy)