From 51e84b5ac44400b378f3eec80e747dba595694a9 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Tue, 14 Feb 2012 19:24:16 +0400 Subject: [PATCH] PassphraseDialog to be transient for roster window. Fixes #7102 --- src/dialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs.py b/src/dialogs.py index 4128c699a..dfab670e3 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -233,7 +233,7 @@ class PassphraseDialog: cancelbutton.connect('clicked', self.on_cancelbutton_clicked) self.xml.connect_signals(self) - self.window.set_position(gtk.WIN_POS_CENTER_ON_PARENT) + self.window.set_transient_for(gajim.interface.roster.window) self.window.show_all() self.check = bool(checkbuttontext)