Mercurial > pidgin
diff src/plugin.c @ 5949:90d0849abd3c
[gaim-migrate @ 6393]
Saved plugins are now stored in UI-specific keys, which are passed to
gaim_plugins_load_saved(). If you're using CVS (shame on you!) you'll need
to reload your plugins, and if you're careful enough, remove the old
plugins tree from prefs.xml (/core/plugins/loaded/...). I assume no
responsibility if you destroy prefs.xml, delete your harddrive, or sell
your soul to a goat.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 24 Jun 2003 03:50:31 +0000 |
parents | a3e60ff95b7d |
children | 53782414bc3a |
line wrap: on
line diff
--- a/src/plugin.c Tue Jun 24 03:49:11 2003 +0000 +++ b/src/plugin.c Tue Jun 24 03:50:31 2003 +0000 @@ -532,12 +532,16 @@ } void -gaim_plugins_load_saved(void) +gaim_plugins_load_saved(const char *key) { #ifdef GAIM_PLUGINS - GList *f, *files = gaim_prefs_get_string_list("/plugins/loaded"); + GList *f, *files; + + g_return_if_fail(key != NULL); - for(f = files; f; f = f->next) { + files = gaim_prefs_get_string_list(key); + + for (f = files; f; f = f->next) { gaim_plugin_load(gaim_plugin_probe(f->data)); g_free(f->data); }