destroy the window when we want to quit gc window
This commit is contained in:
parent
c3437d2d14
commit
ec5effc66b
|
@ -82,8 +82,8 @@ class Groupchat_window(chat.Chat):
|
||||||
self.set_subject(jid, var['subject'])
|
self.set_subject(jid, var['subject'])
|
||||||
|
|
||||||
def on_close_window_activate(self, widget):
|
def on_close_window_activate(self, widget):
|
||||||
#FIXME: does not work as it should
|
if self.on_groupchat_window_delete_event(widget, None) != True:
|
||||||
self.on_groupchat_window_delete_event(widget, None)
|
self.window.destroy()
|
||||||
|
|
||||||
def on_groupchat_window_delete_event(self, widget, event):
|
def on_groupchat_window_delete_event(self, widget, event):
|
||||||
"""close window"""
|
"""close window"""
|
||||||
|
|
Loading…
Reference in New Issue