[Sugar-devel] [PATCH Get Books] Revert the thumbnail fill color to COLOR_PANEL_GREY SL #3723
Manuel Quiñones
manuq at laptop.org
Mon Jun 25 10:12:06 EDT 2012
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
More information about the Sugar-devel
mailing list