diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-07-06 00:19:13 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-07-06 00:19:13 (GMT) |
commit | de8b3b4c01d57bcd901a0302a4b685cb1da1a7cf (patch) | |
tree | 4c6eda4a666da55569bc21e038baec0b88cc6348 /sugar/graphics/spreadlayout.py | |
parent | 4024ef1d0b097fb2a3cd43736004fbfcf324f6c8 (diff) |
Use box_child.item now that hippo support it
Diffstat (limited to 'sugar/graphics/spreadlayout.py')
-rw-r--r-- | sugar/graphics/spreadlayout.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sugar/graphics/spreadlayout.py b/sugar/graphics/spreadlayout.py index ad2a163..e352896 100644 --- a/sugar/graphics/spreadlayout.py +++ b/sugar/graphics/spreadlayout.py @@ -233,7 +233,4 @@ class SpreadLayout(gobject.GObject,hippo.CanvasLayout): return int(width / _CELL_SIZE), int(height / _CELL_SIZE) def _grid_child_changed_cb(self, grid, box_child): - # FIXME box_child->item is not exposed in the python bindings - for item in self._box.get_children(): - if self._box.find_box_child(item) == box_child: - item.emit_request_changed() + box_child.item.emit_request_changed() |