From 94914557e064f798b6435aff32255cb8b5a9afa4 Mon Sep 17 00:00:00 2001 From: wurstsalat Date: Mon, 25 Oct 2021 20:23:16 +0200 Subject: [PATCH] [pgp] Adapt to Gajim changes --- pgp/plugin.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pgp/plugin.py b/pgp/plugin.py index e771297..45c169b 100644 --- a/pgp/plugin.py +++ b/pgp/plugin.py @@ -19,8 +19,6 @@ import logging from functools import partial from packaging.version import Version as V -import nbxmpp - from gajim.common import app from gajim.common import ged from gajim.plugins import GajimPlugin @@ -127,7 +125,7 @@ class PGPPlugin(GajimPlugin): def _on_encryption_dialog(self, chat_control): account = chat_control.account jid = chat_control.contact.jid - transient = chat_control.parent_win.window + transient = app.window KeyDialog(self, account, jid, transient) def _on_send_presence(self, account, presence):