From 1b1080e505d3c24f9d2f28b5b5b813be3388d9b4 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Wed, 25 Jun 2008 16:20:51 +0200 Subject: [PATCH] xo_color property is not a string --- src/sugar/graphics/radiotoolbutton.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sugar/graphics/radiotoolbutton.py b/src/sugar/graphics/radiotoolbutton.py index 001ed068..abdf54ce 100644 --- a/src/sugar/graphics/radiotoolbutton.py +++ b/src/sugar/graphics/radiotoolbutton.py @@ -89,7 +89,7 @@ class RadioToolButton(gtk.RadioToolButton): def get_xo_color(self): return self._xo_color - xo_color = gobject.property(type=str, setter=set_xo_color, + xo_color = gobject.property(type=object, setter=set_xo_color, getter=get_xo_color) def create_palette(self):