Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorManuel QuiƱones <manuq@laptop.org>2012-09-04 13:58:30 (GMT)
committer Simon Schampijer <simon@laptop.org>2012-09-07 09:14:26 (GMT)
commit58023dfbe1893e44079bd3c47953c6a0010da474 (patch)
tree609bc22cc0e8c00de4b78f2951d266bd3a424c4e /src
parent62b8ed1433d8f55f625b15c98d605c737444e238 (diff)
Container: use set_allocation inside the allocation method
http://developer.gnome.org/gtk3/3.4/GtkWidget.html#gtk-widget-get-allocation Signed-off-by: Manuel QuiƱones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'src')
-rw-r--r--src/jarabe/desktop/viewcontainer.py2
-rw-r--r--src/jarabe/journal/listview.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jarabe/desktop/viewcontainer.py b/src/jarabe/desktop/viewcontainer.py
index cc6e7f2..1675293 100644
--- a/src/jarabe/desktop/viewcontainer.py
+++ b/src/jarabe/desktop/viewcontainer.py
@@ -61,7 +61,7 @@ class ViewContainer(Gtk.Container):
self.queue_resize()
def do_size_allocate(self, allocation):
- self.allocation = allocation
+ self.set_allocation(allocation)
if self._owner_icon:
self._layout.setup(allocation, self._owner_icon,
self._activity_icon)
diff --git a/src/jarabe/journal/listview.py b/src/jarabe/journal/listview.py
index f6498e5..61bf4ff 100644
--- a/src/jarabe/journal/listview.py
+++ b/src/jarabe/journal/listview.py
@@ -227,7 +227,7 @@ class BaseListView(Gtk.Bin):
return Pango.PIXELS(width)
def do_size_allocate(self, allocation):
- self.allocation = allocation
+ self.set_allocation(allocation)
self.get_child().size_allocate(allocation)
def do_size_request(self, requisition):