Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2013-08-16 01:14:42 +0400
committerYann Leboulanger <asterix@lagaule.org>2013-08-16 01:14:42 +0400
commite1eb9af26f823c2b5fd8024099aeea444b193906 (patch)
treee11a572ccdeab11555b1dd1d94096f420d8c0231 /src/chat_control.py
parent8f2dbdf05a1f172837ce0dcfb741da81da20f86e (diff)
fix transient for windows. Fixes #7185
Diffstat (limited to 'src/chat_control.py')
-rw-r--r--src/chat_control.py12
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)