diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2013-08-16 01:14:42 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2013-08-16 01:14:42 +0400 |
commit | e1eb9af26f823c2b5fd8024099aeea444b193906 (patch) | |
tree | e11a572ccdeab11555b1dd1d94096f420d8c0231 /src/chat_control.py | |
parent | 8f2dbdf05a1f172837ce0dcfb741da81da20f86e (diff) |
fix transient for windows. Fixes #7185
Diffstat (limited to 'src/chat_control.py')
-rw-r--r-- | src/chat_control.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/chat_control.py b/src/chat_control.py index 50330715e..6cc07e34e 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -2834,11 +2834,13 @@ class ChatControl(ChatControlBase): on_no(self) dialogs.ConfirmationDialog( - # %s is being replaced in the code with JID - _('You just received a new message from "%s"') % self.contact.jid, - _('If you close this tab and you have history disabled, '\ - 'this message will be lost.'), on_response_ok=on_ok, - on_response_cancel=on_cancel) + #%s is being replaced in the code with JID + _('You just received a new message from "%s"') % \ + self.contact.jid, + _('If you close this tab and you have history disabled, '\ + 'this message will be lost.'), on_response_ok=on_ok, + on_response_cancel=on_cancel, + transient_for=self.parent_win.window) return on_yes(self) |