minimize groupchats before closing message window

This commit is contained in:
Yann Leboulanger 2014-03-29 17:52:22 +01:00
parent 47404ea14d
commit ce0fed09cd
1 changed files with 3 additions and 0 deletions

View File

@ -218,6 +218,9 @@ class MessageWindow(object):
win.destroy()
if not gajim.config.get('confirm_close_multiple_tabs'):
for ctrl in self.controls():
if ctrl.minimizable():
ctrl.minimize()
# destroy window
return False
dialogs.YesNoDialog(