diff options
Diffstat (limited to 'src/jarabe/journal/sugarbin.py')
-rw-r--r-- | src/jarabe/journal/sugarbin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jarabe/journal/sugarbin.py b/src/jarabe/journal/sugarbin.py index 5596c67..be64655 100644 --- a/src/jarabe/journal/sugarbin.py +++ b/src/jarabe/journal/sugarbin.py @@ -123,7 +123,8 @@ class SugarBin(gtk.EventBox): x=self._padding_left, y=self._padding_top, width=width - self._padding_left - self._padding_right, height=height - self._padding_top - self._padding_bottom) + child_allocation.width = max(0, child_allocation.width) + child_allocation.height = max(0, child_allocation.height) self.child.size_allocate(child_allocation) - gobject.type_register(SugarBin) |