comparison finch/gntplugin.c @ 21229:0b67d509a305

merge of '1bcf84e26d11f259b3c5ec663e3fecc2f01aed33' and 'ce13b5ca4994abbd4934b3bc568c8b115335c426'
author Richard Laager <rlaager@wiktel.com>
date Sun, 14 Oct 2007 02:41:00 +0000
parents fdefa5eb46e2 e34e56eeb2da
children b9680933c2c6
comparison
equal deleted inserted replaced
21098:7e200a629109 21229:0b67d509a305
81 { 81 {
82 GntWidget *win; 82 GntWidget *win;
83 83
84 if (!purple_plugin_unload(plugin)) { 84 if (!purple_plugin_unload(plugin)) {
85 purple_notify_error(NULL, _("ERROR"), _("unloading plugin failed"), NULL); 85 purple_notify_error(NULL, _("ERROR"), _("unloading plugin failed"), NULL);
86 purple_plugin_disable(plugin);
86 gnt_tree_set_choice(GNT_TREE(tree), plugin, TRUE); 87 gnt_tree_set_choice(GNT_TREE(tree), plugin, TRUE);
87 } 88 }
88 89
89 if (confwins && (win = g_hash_table_lookup(confwins, plugin)) != NULL) 90 if (confwins && (win = g_hash_table_lookup(confwins, plugin)) != NULL)
90 { 91 {