destroy the window when we want to quit gc window

This commit is contained in:
Yann Leboulanger 2005-05-14 11:46:15 +00:00
parent c3437d2d14
commit ec5effc66b
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ class Groupchat_window(chat.Chat):
self.set_subject(jid, var['subject'])
def on_close_window_activate(self, widget):
#FIXME: does not work as it should
self.on_groupchat_window_delete_event(widget, None)
if self.on_groupchat_window_delete_event(widget, None) != True:
self.window.destroy()
def on_groupchat_window_delete_event(self, widget, event):
"""close window"""