PassphraseDialog to be transient for roster window. Fixes #7102

This commit is contained in:
Denis Fomin 2012-02-14 19:24:16 +04:00
parent dc4f7a2f7f
commit 51e84b5ac4
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ class PassphraseDialog:
cancelbutton.connect('clicked', self.on_cancelbutton_clicked) cancelbutton.connect('clicked', self.on_cancelbutton_clicked)
self.xml.connect_signals(self) 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.window.show_all()
self.check = bool(checkbuttontext) self.check = bool(checkbuttontext)