minimize groupchats before closing message window
This commit is contained in:
parent
47404ea14d
commit
ce0fed09cd
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue