Commit 97cc738d authored by Dicson's avatar Dicson

Fix crash when try configure plugin second time. See https://trac-plugins.gajim.org/ticket/86

parent e5977e32
......@@ -322,6 +322,10 @@ class GajimPluginConfigDialog(gtk.Dialog):
self.init()
def on_close_dialog(self, widget, data):
self.hide()
return True
def on_close_button_clicked(self, widget):
self.hide()
......@@ -330,6 +334,7 @@ class GajimPluginConfigDialog(gtk.Dialog):
self.set_transient_for(parent)
self.on_run()
self.show_all()
self.connect('delete-event', self.on_close_dialog)
result = super(GajimPluginConfigDialog, self)
return result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment