Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/graphics/roundbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar/graphics/roundbox.py')
-rw-r--r--src/sugar/graphics/roundbox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sugar/graphics/roundbox.py b/src/sugar/graphics/roundbox.py
index 28644bc..b909c74 100644
--- a/src/sugar/graphics/roundbox.py
+++ b/src/sugar/graphics/roundbox.py
@@ -35,13 +35,13 @@ class CanvasRoundBox(hippo.CanvasBox, hippo.CanvasItem):
# TODO: we should calculate radius depending on the height of the box.
self._radius = style.zoom(10)
-
+
self.props.orientation = hippo.ORIENTATION_HORIZONTAL
self.props.border = self._BORDER_DEFAULT
self.props.border_left = self._radius
self.props.border_right = self._radius
self.props.border_color = style.COLOR_BLACK.get_int()
-
+
def do_paint_background(self, cr, damaged_box):
[width, height] = self.get_allocation()