Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sugar/graphics/icon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/graphics/icon.py b/sugar/graphics/icon.py
index 53db97d..6d7a4c6 100644
--- a/sugar/graphics/icon.py
+++ b/sugar/graphics/icon.py
@@ -247,7 +247,7 @@ class _IconBuffer(object):
icon_width = int(dimensions[0])
icon_height = int(dimensions[1])
else:
- pixbuf = gtk.gdk.pixbuf_new_from_file(file_name)
+ pixbuf = gtk.gdk.pixbuf_new_from_file(icon_info.file_name)
icon_width = pixbuf.get_width()
icon_height = pixbuf.get_height()