[Sugar-devel] [PATCH Paint] Fixed bug instroduced in SL #3602

Manuel Kaufmann humitos at gmail.com
Fri Jun 1 18:32:38 EDT 2012


This patch solve the bug introduced in d20721442caa22d89f83b6c43d35d3aafae3f4bc

Signed-off-by: Manuel Kaufmann <humitos at gmail.com>
---
 toolbox.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolbox.py b/toolbox.py
index dcdfeb0..8d58306 100644
--- a/toolbox.py
+++ b/toolbox.py
@@ -352,7 +352,7 @@ class ToolsToolbarBuilder():
         # Check if there is an area selected or if the "stamp" tool is
         # being used
         sensitive = self._activity.area.is_selected() or \
-            self.tool['name'] == 'stamp'
+            self.properties['name'] == 'stamp'
         self._tool_stamp.set_sensitive(sensitive)
 
 
-- 
1.7.10



More information about the Sugar-devel mailing list