[Sugar-devel] Gtk 3.10 icon size regression
dwnarvaez at gmail.com
Fri Jan 10 10:59:09 EST 2014
sugar-artwork installs a settings.ini like this
gtk-auto-mnemonics = 1
gtk-menu-images = 1
gtk-button-images = 1
gtk-toolbar-style = GTK_TOOLBAR_ICONS
gtk-cursor-theme-name = sugar
gtk-primary-button-warps-slider = 0
Now, gtk-icon-sizes used to determine the size of our toolbar icons (and
perhaps other sizes too). With gtk 3.10 that property is ignored, the
default (hardcoded) gtk size is used. Which means toolbar icons both in
sugar and activities are way too small.
For ToolButton the fix should be easy, we just make the Icon
STANDARD_ICON_SIZE. But there might be other cases where these properties
was used. Hopefully activities are not using Gtk.IconSize directly...
Perhaps you could grep? :)
On 10 January 2014 16:51, Gonzalo Odiard <godiard at sugarlabs.org> wrote:
> I don't understand what is the problem or the use case. Could you explain?
> On Fri, Jan 10, 2014 at 12:43 PM, Daniel Narvaez <dwnarvaez at gmail.com>wrote:
>> so, it looks like the GtkSettings icon sizes are ignored with 3.10
>> (intentionally deprecated). As far as I can tell the default sizes are now
>> just hardcoded. So I think the only way is to pass the size explicitly to
>> Icon. Ignacio is trying to do that in ToolButton, I do wonder if there are
>> other cases, especially in activities.
>> Daniel Narvaez
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
> Gonzalo Odiard
> SugarLabs - Learning Software for children
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel