im.pidgin.pidgin.next.minor: 23cdfaf6f0636c8030b921b1635c7f63153b0138

rlaager at pidgin.im rlaager at pidgin.im
Fri Oct 12 00:02:21 EDT 2007


-----------------------------------------------------------------
Revision: 23cdfaf6f0636c8030b921b1635c7f63153b0138
Ancestor: 163678e01e4842acd17f052d00b1c1f5a61a8c4b
Author: rlaager at pidgin.im
Date: 2007-10-07T16:07:07
Branch: im.pidgin.pidgin.next.minor

Modified files:
        finch/gntplugin.c

ChangeLog: 

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.

-------------- next part --------------
============================================================
--- finch/gntplugin.c	3eca18ea0809488bcfd2a8068e6a333a9c9b977e
+++ finch/gntplugin.c	f45804d56ec210cbd2ae2ce6a158eaf03481cca0
@@ -83,6 +83,7 @@ plugin_toggled_cb(GntWidget *tree, Purpl
 
 		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);
 		}
 


More information about the Commits mailing list