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)