Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/view/home/launchbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/home/launchbox.py')
-rw-r--r--src/view/home/launchbox.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/view/home/launchbox.py b/src/view/home/launchbox.py
index a70cb61..dfbec40 100644
--- a/src/view/home/launchbox.py
+++ b/src/view/home/launchbox.py
@@ -25,10 +25,9 @@ from sugar.graphics.xocolor import XoColor
from model import shellmodel
from view.pulsingicon import CanvasPulsingIcon
-class LaunchBox(hippo.CanvasBox):
+class LaunchBox(hippo.Canvas):
def __init__(self):
- gobject.GObject.__init__(
- self, background_color=style.COLOR_WHITE.get_int())
+ gobject.GObject.__init__(self)
self._activity_icon = CanvasPulsingIcon()
@@ -38,8 +37,9 @@ class LaunchBox(hippo.CanvasBox):
style.COLOR_TRANSPARENT.get_svg()))
vbox = hippo.CanvasBox(orientation=hippo.ORIENTATION_VERTICAL)
+ vbox.props.background_color = style.COLOR_WHITE.get_int()
vbox.append(self._activity_icon, hippo.PACK_EXPAND)
- self.append(vbox, hippo.PACK_EXPAND)
+ self.set_root(vbox)
self._animator = animator.Animator(1.0)