Mercurial > pidgin.yaz
diff finch/gntplugin.c @ 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 | 227e397d8e80 |
| children | 0b67d509a305 |
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); }
