Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/graphics/icon.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2009-08-24 12:51:00 (GMT)
committer Simon Schampijer <simon@schampijer.de>2009-08-24 12:51:00 (GMT)
commite1e8647de9e1b9fa79c11015ad63f6dd78a671f3 (patch)
tree99e0f2913c90e7010df8f848984ed07cb11d753e /src/sugar/graphics/icon.py
parent496090fe62191da435044a3102378ab4dbadbda1 (diff)
pylint fixes
Diffstat (limited to 'src/sugar/graphics/icon.py')
-rw-r--r--src/sugar/graphics/icon.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sugar/graphics/icon.py b/src/sugar/graphics/icon.py
index 51bb584..6f5a167 100644
--- a/src/sugar/graphics/icon.py
+++ b/src/sugar/graphics/icon.py
@@ -1019,7 +1019,8 @@ class CellRendererIcon(gtk.GenericCellRenderer):
if self._buffer.background_color != value:
self._buffer.background_color = value
- background_color = gobject.property(type=object, setter=set_background_color)
+ background_color = gobject.property(type=object,
+ setter=set_background_color)
def set_size(self, value):
if self._buffer.width != value:
@@ -1061,7 +1062,7 @@ class CellRendererIcon(gtk.GenericCellRenderer):
if pos is None:
return False
- path, column, x, y = pos
+ path_, column, x, y = pos
for cell_renderer in column.get_cell_renderers():
if cell_renderer == self: