[Bugs] #3385 sugar-artwork UNSP: 'dialog-cancel' icon has not the correct size when inside a gtk entry
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Mon Jun 18 10:24:39 EDT 2012
#3385: 'dialog-cancel' icon has not the correct size when inside a gtk entry
------------------------------------------+---------------------------------
Reporter: erikos | Owner: erikos
Type: defect | Status: assigned
Priority: Unspecified by Maintainer | Milestone: 0.96
Component: sugar-artwork | Version: Git as of bugdate
Severity: Major | Keywords: 12.1.0, screenshot
Distribution: OLPC | Status_field: Assigned
------------------------------------------+---------------------------------
Comment(by erikos):
Replying to [comment:15 garnacho]:
> Replying to [comment:14 erikos]:
> > Carlos, actually had an environmental issue, so false alarm about
final success, he will investigate further.
>
> I had one indeed, also badly failed to notice that set_icon_from_name()
is not set_icon_from_icon_name() :), IconEntry ultimately uses
GtkEntry.set_icon_from_pixbuf(), which codepath doesn't handle resize-to-
fit, I filed a bug/patch to gtk+ upstream:
>
> https://bugzilla.gnome.org/show_bug.cgi?id=678087
>
> a short term fix until the patch is applied could be re-scaling the
pixbuf before:
> http://git.sugarlabs.org/sugar-toolkit-gtk3/sugar-toolkit-
gtk3/blobs/master/src/sugar3/graphics/iconentry.py#line60
> Should I do a patch for that?
Yes, if you know already what to do, please go ahead, thanks.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/3385#comment:17>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list