use set_transient_for instead of reparent. We don't reparent a window, but a widget

This commit is contained in:
Yann Leboulanger 2008-08-29 11:58:27 +00:00
parent fbcc091db0
commit af5afb2c2d
1 changed files with 1 additions and 1 deletions

View File

@ -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()