Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-12-19 20:19:58 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-12-19 20:23:46 (GMT)
commitf6ca8f382560aa6f815f9ce7845827cd17746bc8 (patch)
treee974d27dddb1fa55861152f410b5dd2c8cb8a6b9
parenta1ed8052683e30149249605b98ccb4c530ba546b (diff)
#3092 Change the color of the preview box.
-rw-r--r--NEWS2
-rw-r--r--expandedentry.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 735ea96..d006d66 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+* #3092 Change the color of the preview box. (rwh)
+
82
* #2545 Correctly unmount the device from the DS when it is removed. (tomeu)
diff --git a/expandedentry.py b/expandedentry.py
index 9085316..65b7808 100644
--- a/expandedentry.py
+++ b/expandedentry.py
@@ -205,7 +205,7 @@ class ExpandedEntry(hippo.CanvasBox):
if has_preview:
preview_box = hippo.CanvasImage(image=surface,
border=style.LINE_WIDTH,
- border_color=style.COLOR_BLACK.get_int(),
+ border_color=style.COLOR_BUTTON_GREY.get_int(),
xalign=hippo.ALIGNMENT_CENTER,
yalign=hippo.ALIGNMENT_CENTER,
scale_width=width,
@@ -216,7 +216,7 @@ class ExpandedEntry(hippo.CanvasBox):
xalign=hippo.ALIGNMENT_CENTER,
yalign=hippo.ALIGNMENT_CENTER,
border=style.LINE_WIDTH,
- border_color=style.COLOR_BLACK.get_int(),
+ border_color=style.COLOR_BUTTON_GREY.get_int(),
box_width=width,
box_height=height)
box.append(preview_box)