fix transient for. See #7185

This commit is contained in:
Yann Leboulanger 2013-08-15 23:16:38 +02:00
parent 92ed24a715
commit 0435b8a50b
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)), negotiation.describe_features(ask_user)),
_('Always accept for this contact'), _('Always accept for this contact'),
on_response_yes = accept_nondefault_options, 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: else:
try: try:
self.accept_e2e_alice(form, negotiated) self.accept_e2e_alice(form, negotiated)