Re: Icons in stock buttons (bug 78072)



Am Don, 2003-07-31 um 20.44 schrieb David Adam Bordoley:
> Matthias Clasen writes: 
> 
> > 
> > I did the same a few days ago, together with a style property for
> > suppressing images in menu items. My patch is attached to 
> > http://bugzilla.gnome.org/show_bug.cgi?id=82099
> > 
> > Matthias 
> > 
>  
> 
> I notice that your patch uses settings instead of style properties. Are 
> these themable still? The reason I ask is that I imagine that the Windows 
> theme would want to turn off icons in buttons all the time to be consistent 
> with native windows, while on unix the default is debatable. (well I think 
> no icons ought to be the default but...). 
> 

Settings are controled by the xsettings manager, style properties are
controled by the theme. I don't know if there's a hard rule to determine
whether a parameter should be a setting or a style property. My
understanding is that settings are of a more global nature, things which
you want to control on a desktop-wide scale (e.g double-click time, drag
threshold) while style properties are parameters which influence the
visual appearance of individual gtk widgets and wouldn't have any
meaning to e.g. a Qt-based app. The image-suppressing parameters we're
discussing here are borderline: while they do modify the appearance of
individual widgets, they clearly have a meaning for e.g. Qt-based apps,
and you would likely want to set them desktop-wide.

Matthias




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