From 447cfc2df118f16c896ae9e69588fa8deaa2c6c8 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Thu, 6 Sep 2012 13:15:56 +0200 Subject: [PATCH] CellRendererInvoker: in Gtk.TreeViewColumn get_cell_renderers is now get_cells MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Simon Schampijer Acked-by: Manuel QuiƱones --- src/sugar3/graphics/palettewindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sugar3/graphics/palettewindow.py b/src/sugar3/graphics/palettewindow.py index 2c8816c6..1307a204 100644 --- a/src/sugar3/graphics/palettewindow.py +++ b/src/sugar3/graphics/palettewindow.py @@ -1221,7 +1221,7 @@ class CellRendererInvoker(Invoker): def _redraw_path(self, path): column = None for column in self._tree_view.get_columns(): - if self._cell_renderer in column.get_cell_renderers(): + if self._cell_renderer in column.get_cells(): break assert column is not None area = self._tree_view.get_background_area(path, column) @@ -1255,7 +1255,7 @@ class CellRendererInvoker(Invoker): path_, column, x, y_ = pos - for cell_renderer in column.get_cell_renderers(): + for cell_renderer in column.get_cells(): if cell_renderer == self._cell_renderer: cell_x, cell_width = column.cell_get_position(cell_renderer) if x > cell_x and x < (cell_x + cell_width):