| 331 Gaim::Prefs::add_int("/plugins/core/perl_test/choice_int", 1); |
331 Gaim::Prefs::add_int("/plugins/core/perl_test/choice_int", 1); |
| 332 Gaim::Prefs::add_string("/plugins/core/perl_test/text", "Foobar"); |
332 Gaim::Prefs::add_string("/plugins/core/perl_test/text", "Foobar"); |
| 333 } |
333 } |
| 334 @endcode |
334 @endcode |
| 335 |
335 |
| 336 Now we can provide an UI for manipulating these preferences in our @prefs_info |
336 Now we can provide an UI for manipulating these preferences in our @c prefs_info |
| 337 function. |
337 function. |
| 338 |
338 |
| 339 @code |
339 @code |
| 340 sub prefs_info_cb { |
340 sub prefs_info_cb { |
| 341 # The first step is to initialize the Gaim::Pref::Frame that will be returned |
341 # The first step is to initialize the Gaim::Pref::Frame that will be returned |