From 0435b8a50be6f573dbeb62fc2a6c2be4aee9735f Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Thu, 15 Aug 2013 23:16:38 +0200
Subject: [PATCH] fix transient for. See #7185

---
 src/session.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/session.py b/src/session.py
index 94acbd62a3..8133583778 100644
--- a/src/session.py
+++ b/src/session.py
@@ -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)
-- 
GitLab