# HG changeset patch # User Richard Laager # Date 1191773227 0 # Node ID e34e56eeb2dad9edfa8a99ad3d14c53ad7358023 # Parent 3695fbebc8bf9558f6f98fc6d06d14b383233a40 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. diff -r 3695fbebc8bf -r e34e56eeb2da finch/gntplugin.c --- 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); }