changeset ac3413a7823b in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=ac3413a7823b description: [Dicson] some error dialogs improvements. Fixes #5930
diffstat:
src/plugins/gui.py | 4 ++-- src/plugins/pluginmanager.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
diffs (33 lines):
diff -r 52f59cbaa4fb -r ac3413a7823b src/plugins/gui.py --- a/src/plugins/gui.py Mon Sep 20 11:14:08 2010 +0200 +++ b/src/plugins/gui.py Tue Sep 21 21:44:04 2010 +0200 @@ -195,7 +195,7 @@ 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 @@ _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() diff -r 52f59cbaa4fb -r ac3413a7823b src/plugins/pluginmanager.py --- a/src/plugins/pluginmanager.py Mon Sep 20 11:14:08 2010 +0200 +++ b/src/plugins/pluginmanager.py Tue Sep 21 21:44:04 2010 +0200 @@ -530,7 +530,7 @@ os.unlink(path) return # access is denied or other - raise PluginsystemError(error[1]) + raise PluginsystemError(error[1][1])
if plugin: if plugin.active: