[Bugs] #1305 UNSP: gtk.Image().set_from_icon_name() provides incorrectly scaled icon image
SugarLabs Bugs
bugtracker-noreply at sugarlabs.org
Tue Sep 8 21:08:14 EDT 2009
#1305: gtk.Image().set_from_icon_name() provides incorrectly scaled icon image
------------------------------------------+---------------------------------
Reporter: garycmartin | Owner: tomeu
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: sugar | Version: Git as of bugdate
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
Using:
{{{
image = gtk.Image()
image.set_from_icon_name('insert-table', -1)
}}}
... to generate an image to place into a gtk.Button (in the toolbar) seems
to be acquiring an incorrectly sized icon. When sugar scaling is set to 75
the icon is too large, and when set to 100 it is a little too small.
Code exhibiting the issue can be seen at line 187:
http://git.sugarlabs.org/projects/write/repos/garycmartins-toolbar-
clone/blobs/master/toolbar.py
--
Ticket URL: <http://dev.sugarlabs.org/ticket/1305>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list