Mercurial > pidgin.yaz
changeset 27367:cbd67b8bf3ca
merge of '1bbd08b1b4f931fa4318c1042033c441a36397ee'
and '60b8637e2af27d99451c148fe737ebf48ac8c901'
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sat, 04 Jul 2009 05:17:11 +0000 |
parents | c3b1711991fc (current diff) 77dfed554b2b (diff) |
children | 2a5c906e1104 d4c6d2c6fb03 |
files | |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/PERL-HOWTO.dox Sat Jul 04 04:28:42 2009 +0000 +++ b/doc/PERL-HOWTO.dox Sat Jul 04 05:17:11 2009 +0000 @@ -323,9 +323,10 @@ sub plugin_load { my $plugin = shift; + # This is necessary to create each level in the preferences tree. + Purple::Prefs::add_none("/plugins/core/perl_test"); # Here we are adding a set of preferences # The second argument is the default value for the preference. - Purple::Prefs::add_none("/plugins/core/perl_test"); Purple::Prefs::add_bool("/plugins/core/perl_test/bool", 1); Purple::Prefs::add_string("/plugins/core/perl_test/choice_str", "ch1"); Purple::Prefs::add_int("/plugins/core/perl_test/choice_int", 1);