Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-08-27 12:31:38 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-08-27 12:31:38 (GMT)
commit7d0aedeb368d61dafff9e765512ba2a62c236e7e (patch)
treec953f78c6e9edffdf240e737140dd4adaccda90b /sugar
parent59ee222f962e98368f6cf1dffaa30d630d726541 (diff)
Fix typo.
Diffstat (limited to 'sugar')
-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()