Skip to content
Snippets Groups Projects
Commit 8ce99327 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[Dicson] some error dialogs improvements. Fixes #5930

parent 15559555
No related branches found
No related tags found
No related merge requests found
......@@ -195,7 +195,7 @@ class PluginsWindow(object):
gajim.plugin_manager.remove_plugin(plugin)
except PluginsystemError, e:
WarningDialog(_('Unable to properly remove the plugin'),
str(e))
str(e), self.window)
return
model.remove(iter)
......@@ -237,7 +237,7 @@ class PluginsWindow(object):
_on_plugin_exists(zip_filename)
return
WarningDialog(error_text, '"%s"' % zip_filename)
WarningDialog(error_text, '"%s"' % zip_filename, self.window)
return
if not plugin:
show_warn_dialog()
......
......@@ -530,7 +530,7 @@ class PluginManager(object):
os.unlink(path)
return
# access is denied or other
raise PluginsystemError(error[1])
raise PluginsystemError(error[1][1])
if plugin:
if plugin.active:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment