[Tkabber] georoster not picking up configured values

Sergei Golovan sgolovan at kengu.ru
Thu Mar 4 23:23:40 MSK 2004

On Thu, Mar 04, 2004 at 10:23:42AM -0800, Marshall Rose wrote:
> here's an odd problem: i've used the customize feature to save a couple
> of georoster features. they get written out to the custom.tcl file:
>     {::georoster::options(check_vcard) 1}
>     {::georoster::options(automatic) 1}
> however, when i run tkabber, georoster doesn't see them.
> right now, i load georoster.tcl in the postload proc, should i be
> loading it somewhere else?

Customization variables are set in postload_hook with priority 10. So, you
should load georoster before that. For example:

hook::add postload_hook load_georoster 9

where load_georoster is the proc which loads georoster :)

Another way is to define ::georoster namespace before postload_hook is

Sergei 'TeopeTuK' Golovan                       <mailto:sgolovan(a)kengu.ru>

More information about the Tkabber mailing list