Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Area.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@sugarlabs.org>2011-05-12 20:23:30 (GMT)
committer Gonzalo Odiard <godiard@sugarlabs.org>2011-05-12 20:23:30 (GMT)
commitf5e4f561fb27000c89be127e8df6c1aed8d77f57 (patch)
tree6803d1416b8040ebf67c087a6167aefd1e68b685 /Area.py
parent0038e5ceb9497774952851c2a91b7acd5dc026b3 (diff)
Fix setting the cursor selecting a area
Diffstat (limited to 'Area.py')
-rw-r--r--Area.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Area.py b/Area.py
index 5e96fcf..2311773 100644
--- a/Area.py
+++ b/Area.py
@@ -1330,7 +1330,7 @@ class Area(gtk.DrawingArea):
if self.tool['name'] in cursors:
name = cursors[self.tool['name']]
cursor = gtk.gdk.cursor_new_from_name(display, name)
- elif tool['name'] == 'marquee-rectangular':
+ elif self.tool['name'] == 'marquee-rectangular':
cursor = gtk.gdk.Cursor(gtk.gdk.CROSS)
else:
filename = os.path.join('images', tool['name'] + '.png')