minimize groupchats before closing message window
This commit is contained in:
parent
47404ea14d
commit
ce0fed09cd
|
@ -218,6 +218,9 @@ class MessageWindow(object):
|
||||||
win.destroy()
|
win.destroy()
|
||||||
|
|
||||||
if not gajim.config.get('confirm_close_multiple_tabs'):
|
if not gajim.config.get('confirm_close_multiple_tabs'):
|
||||||
|
for ctrl in self.controls():
|
||||||
|
if ctrl.minimizable():
|
||||||
|
ctrl.minimize()
|
||||||
# destroy window
|
# destroy window
|
||||||
return False
|
return False
|
||||||
dialogs.YesNoDialog(
|
dialogs.YesNoDialog(
|
||||||
|
|
Loading…
Reference in New Issue