[Sugar-devel] Gtk 3.10 icon size regression
godiard at sugarlabs.org
Mon Jan 13 10:10:30 EST 2014
On Mon, Jan 13, 2014 at 11:56 AM, Daniel Narvaez <dwnarvaez at gmail.com>wrote:
> On 13 January 2014 15:37, Gonzalo Odiard <godiard at sugarlabs.org> wrote:
>> Sadly, have more sense set icon_size than pixel_size, right?
>> (More in the context of multiple pixels resolutions, like we have with
>> the xo and the desktop)
> Well, we should be using the new layout scaling stuff in gtk to deal with
> different resolutions.
> If on the top of that we need to set different "pixel" sizes for icons, it
> seems like a constant will probably enough. The IconSize stuff was designed
> to support runtime switching because it was user configurable, and it's now
> all being deprecated because they don't want the user configurability
> anymore. In any case gtk is moving away from it, so we will need our own
> constant or more complex thing.
>> I think is better fix Icon to get the parameter and set the pixel_size,
>> and not do all the modifications Ignacio found.
> Why? I think it's pretty clear that Gtk.IconSize will go away in gtk4. It
> seems a good idea to get rid of it at least in core (and suggest to do the
> same in activities). It will be less work when it goes away completely.
Yes. I was talking about the parameter. I agree we will need our own size
constants to replace Gtk.IconSize.*
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel