"Gustavo J. A. M. Carneiro" <[EMAIL PROTECTED]> writes:

> A Qui, 2004-07-22 Ãs 15:09, Doug Quale escreveu:
> > "Gustavo J. A. M. Carneiro" <[EMAIL PROTECTED]> writes:
> > 
> > >   BonoboUI stores toolbar state in GConf.  But the programmer has to
> > > specify the GConf key, so it isn't 100% automatic (thankfully).
> > 
> > Isn't the gconf key set up automatically when you call
> > gnome.program_init()?  I don't know, but it seemed to work that way
> > when I played around with it.
> 
>   Nope.  You need some code like this:
>       window.get_ui_engine().config_set_path(UICONFIG_KEY)

Sorry, I got that wrong again.  If you use GnomeApp, I think calling
gnome.ui.App(appname, title) is all that's required to setup the gconf
key appname, but I've been wrong a couple of times recently, so ...
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to