Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/desktop/groupbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jarabe/desktop/groupbox.py')
-rw-r--r--src/jarabe/desktop/groupbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jarabe/desktop/groupbox.py b/src/jarabe/desktop/groupbox.py
index 76c2981..0f462d8 100644
--- a/src/jarabe/desktop/groupbox.py
+++ b/src/jarabe/desktop/groupbox.py
@@ -90,6 +90,6 @@ class GroupBox(hippo.Canvas):
min_h_, icon_height = self._owner_icon.get_height_request(icon_width)
x = (width - icon_width) / 2
y = (height - icon_height) / 2
- self._layout.move(self._owner_icon, x, y)
+ self._layout.move(self._owner_icon, max(x,0), max(y,0))
hippo.Canvas.do_size_allocate(self, allocation)