[Sugar-devel] [PATCH Get Books] Revert the thumbnail fill color to COLOR_PANEL_GREY SL #3723
Gonzalo Odiard
gonzalo at laptop.org
Wed Jun 27 08:23:18 EDT 2012
Thanks, pushed
Gonzalo
On Mon, Jun 25, 2012 at 11:12 AM, Manuel Quiñones <manuq at laptop.org> wrote:
> This should be fixed in the theme.
>
> Signed-off-by: Manuel Quiñones <manuq at laptop.org>
> ---
> GetIABooksActivity.py | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/GetIABooksActivity.py b/GetIABooksActivity.py
> index b340798..ed91546 100644
> --- a/GetIABooksActivity.py
> +++ b/GetIABooksActivity.py
> @@ -732,12 +732,7 @@ class GetIABooksActivity(activity.Activity):
> pixbuf.get_has_alpha(), pixbuf.get_bits_per_sample(),
> image_width, image_height)
>
> - # FIXME: I used this darker color instead of
> - # style.COLOR_PANEL_GREY because there is a big difference on
> - # the image. We should find the way to use the same color on
> - # the .png loaded than in the rest of the square and remove
> - # the 1px border
> - pixbuf2.fill(style.COLOR_BUTTON_GREY.get_int())
> + pixbuf2.fill(style.COLOR_PANEL_GREY.get_int())
>
> margin_x = int((image_width - (width * scale)) / 2)
> margin_y = int((image_height - (height * scale)) / 2)
> --
> 1.7.10.2
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120627/5a6ea2c3/attachment.html>
More information about the Sugar-devel
mailing list