Mercurial > pidgin.yaz
changeset 21202:e34e56eeb2da
Use purple_plugin_disable() to get the right behavior with plugins that
can't be unloaded. The error message should probably be updated here, but
I'm leaving that for people that use Finch.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 07 Oct 2007 16:07:07 +0000 |
parents | 3695fbebc8bf |
children | 3a63d0d2a5fe |
files | finch/gntplugin.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntplugin.c Sun Oct 07 16:06:20 2007 +0000 +++ b/finch/gntplugin.c Sun Oct 07 16:07:07 2007 +0000 @@ -83,6 +83,7 @@ if (!purple_plugin_unload(plugin)) { purple_notify_error(NULL, _("ERROR"), _("unloading plugin failed"), NULL); + purple_plugin_disable(plugin); gnt_tree_set_choice(GNT_TREE(tree), plugin, TRUE); }