I was looking at why the toolbars/toolbuttons in gtk3 activities are smaller than in gtk2,<br>and the problem is in the icons size.<br><br>We set that in gtk2 (icon.py) doing:<br><br> width, height = gtk.icon_size_lookup(self.props.icon_size)<br>
<br>where self.props.icon_size = 3 and the values returned are 40, 40 (in my desktop)<br><br>These values are setted in:<br>sugar-72.gtkrc:<br>gtk-icon-sizes="gtk-menu=24,24:gtk-dnd=24,24:gtk-small-toolbar=24,24:gtk-button=24,24:gtk-large-toolbar=40,40"<br>
and<br>sugar-100.gtkrc:<br>gtk-icon-sizes="gtk-menu=33,33:gtk-dnd=33,33:gtk-small-toolbar=33,33:gtk-button=33,33:gtk-large-toolbar=55,55"<br><br>Now if in gtk3 I do:<br><br>print Gtk.icon_size_lookup(3)<br>(True, 24, 24)<br>
<br>I have tried adding:<br><br>gtk-icon-sizes = "gtk-menu=40,40:gtk-dnd=40,40:gtk-small-toolbar=40,40:gtk-button=40,40:gtk-large-toolbar=40,40"<br><br>to sugar-jhbuild/source/sugar-artwork/gtk3/theme/settings.ini<br>
doing make-install, the file is installed, icon_size_lookup continue returning 24 and the icons continue at the same size.<br><br>Any idea?<br><br>Gonzalo<br><br><br>