Sat, 04 Jul 2009 05:17:11 +0000
merge of '51d888225fcf07c2399a7a206fb60857858df664'
and '4072ff93064fd66a6e9da6ba70d4a36c6d072cec'
--- 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);