fix transient for. See #7185

This commit is contained in:
Yann Leboulanger 2013-08-15 23:16:38 +02:00
parent e1eb9af26f
commit 07c172fcc6
1 changed files with 2 additions and 1 deletions

View File

@ -473,7 +473,8 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
negotiation.describe_features(ask_user)),
_('Always accept for this contact'),
on_response_yes = accept_nondefault_options,
on_response_no = reject_nondefault_options)
on_response_no = reject_nondefault_options,
transient_for=self.control.parent_win.window)
else:
try:
self.accept_e2e_alice(form, negotiated)