[Sugar-devel] [PATCH] Fix radiopalette due to api change in toolbotton

godiard at sugarlabs.org godiard at sugarlabs.org
Thu Sep 20 15:54:09 EDT 2012


From: Gonzalo Odiard <godiard at gmail.com>

Signed-off-by: Gonzalo Odiard <gonzalo at laptop.org>
---
 src/sugar3/graphics/radiopalette.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sugar3/graphics/radiopalette.py b/src/sugar3/graphics/radiopalette.py
index c2ff4f6..29f4159 100644
--- a/src/sugar3/graphics/radiopalette.py
+++ b/src/sugar3/graphics/radiopalette.py
@@ -100,5 +100,5 @@ class RadioPalette(Palette):
             return
 
         parent.props.label = button.palette_label
-        parent.set_icon(button.props.icon_name)
+        parent.set_icon_name(button.props.icon_name)
         parent.selected_button = button
-- 
1.7.11.4



More information about the Sugar-devel mailing list