[Dicson] some error dialogs improvements. Fixes #5930
This commit is contained in:
parent
155595557d
commit
8ce99327bd
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue