Re: My take icon icon resizing



"Matthias Clasen" <Matthias Clasen poet de> writes:

> > - I changed the string format from "gtk-menu 30,30:gtk-dialog 40,40"
> >   to "gtk-menu=30,30:gtk-dialog=40,40", since it seemed a little
> >   clearer with an explicit delimiter character.
> 
> Wouldn't
> 
> icon_size["menu"] = { 30 , 30 }
> icon_size["dialog"] = { 40, 40 } 
> icon_size["my-private-size"] = { 54, 38 }
> 
> fit the general rc file syntax a lot better, and also save you from 
> implementing yet another mini-parser ?

It's a GtkSetting, not generic RC file content. I suppose we could
add custom gtkrc parsing code for setting this setting, but I suspect 
the typical usage will be setting this through XSETTINGS, and we
need a string representation for that.

Regards,
                                        Owen



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