use set_transient_for instead of reparent. We don't reparent a window, but a widget
This commit is contained in:
parent
fbcc091db0
commit
af5afb2c2d
|
@ -206,7 +206,7 @@ class GajimPluginConfigDialog(gtk.Dialog):
|
|||
|
||||
@log_calls('GajimPluginConfigDialog')
|
||||
def run(self, parent=None):
|
||||
self.reparent(parent)
|
||||
self.set_transient_for(parent)
|
||||
self.on_run()
|
||||
self.show_all()
|
||||
result = super(GajimPluginConfigDialog, self).run()
|
||||
|
|
Loading…
Reference in New Issue