Default to RosterWindow as transient for CommonInputDialog
This commit is contained in:
parent
a3fc0b6f5c
commit
922762afa5
|
@ -2017,6 +2017,8 @@ class CommonInputDialog:
|
||||||
self.vbox = self.xml.get_object('vbox')
|
self.vbox = self.xml.get_object('vbox')
|
||||||
if transient_for:
|
if transient_for:
|
||||||
self.dialog.set_transient_for(transient_for)
|
self.dialog.set_transient_for(transient_for)
|
||||||
|
else:
|
||||||
|
self.dialog.set_transient_for(gajim.interface.roster.window)
|
||||||
|
|
||||||
self.ok_handler = ok_handler
|
self.ok_handler = ok_handler
|
||||||
okbutton = self.xml.get_object('okbutton')
|
okbutton = self.xml.get_object('okbutton')
|
||||||
|
|
Loading…
Reference in New Issue