Re: gnome-stock pixmaps




> Anyway, why make the variable global? Shouldn't it be local to
> PropertyBox?
> 
> I was thinking along these lines: have a file with all Gnome-global
> options, something like:
> 
> #define PROPERTY_BOX_HAS_APPLY "/General/PropertyBoxHasApply=true"

The variable does not have to be a C global variable.  What you are
showing there is a GNOME-global variable from the users's point of
view. 

> This would be used in two places; once in gnome_property_box_init(), and
> also in a little gnome-properties utility which is a propertybox for
> setting global options. gnome-properties could also let you set Gtk colors
> and stuff like that; I'm hoping it's feasible to store some Gtk prefs in
> gnome-config rather than a gtkrc, for those who want to use the GUI
> instead of the rc file. (flashy themes are a big Gnome selling point; we
> want everyone to be able to use them :-)

Yes, this is definetly possible and a good idea as well.  We should
encourage this use.

Cheers,
Miguel.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]