Merge lp:~evfool/pantheon-files/lp1082225 into lp:~elementary-apps/pantheon-files/trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Danielle Foré | ||||
Approved revision: | 1443 | ||||
Merged at revision: | 1443 | ||||
Proposed branch: | lp:~evfool/pantheon-files/lp1082225 | ||||
Merge into: | lp:~elementary-apps/pantheon-files/trunk | ||||
Diff against target: |
28 lines (+5/-2) 2 files modified
libcore/marlin-icon-info.c (+4/-1) src/marlin-icon-renderer.c (+1/-1) |
||||
To merge this branch: | bzr merge lp:~evfool/pantheon-files/lp1082225 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Danielle Foré | Approve | ||
Review via email: mp+210716@code.launchpad.net |
Commit message
If the pixbuf size is less than the image size we want, do not scale it up, as it results in a blurry image.
Description of the change
This branch fixes bug #1082225.
* If the pixbuf size is less than the image size we want, do not scale it up, as it results in a blurry image.
I did not take the solution from thunar (although the result is the same) as suggested in the bug, as thunar first loads the original size pixbuf, and if the size is greater than the size of the cellrenderer we want to render it to, scales the full pixbuf down to that size, otherwise (in case the pixbuf is smaller than the size of the cell renderer) it leaves it at the original size. [1]
[1] http://
Definitely fixes the bug for me, Thanks Robert!