From a19ae26f015e85688d117a278144e6bb4661d09f Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Thu, 21 Apr 2005 23:51:16 +0000 Subject: [PATCH] apparently need a \ after a binary operator (* and -). freaky --- src/cell_renderer_image.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cell_renderer_image.py b/src/cell_renderer_image.py index a17d87167..bde36a7fc 100644 --- a/src/cell_renderer_image.py +++ b/src/cell_renderer_image.py @@ -113,11 +113,11 @@ class CellRendererImage(gtk.GenericCellRenderer): x_offset = 0 y_offset = 0 if cell_area and pixbuf_width > 0 and pixbuf_height > 0: - x_offset = self.get_property('xalign') * - (cell_area.width - calc_width - + x_offset = self.get_property('xalign') * \ + (cell_area.width - calc_width - \ self.get_property('xpad')) - y_offset = self.get_property('yalign') * - (cell_area.height - calc_height - + y_offset = self.get_property('yalign') * \ + (cell_area.height - calc_height - \ self.get_property('ypad')) return x_offset, y_offset, calc_width, calc_height