Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Francis <francis@sugarlabs.org>2012-10-30 21:17:38 (GMT)
committer Daniel Francis <francis@sugarlabs.org>2012-10-30 21:17:38 (GMT)
commit199c606e5430b128f2b985ffe9d0e950716c03cb (patch)
tree118679edf6e1db17a41d5c28229ea4afaf82142e
parent5e8ede0a1a3f715ab79fe80aaf0546831b778517 (diff)
Remove warning. SL#4118
Signed-off-by: Daniel Francis <francis@sugarlabs.org>
-rw-r--r--functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.py b/functions.py
index 57c7107..282ff43 100644
--- a/functions.py
+++ b/functions.py
@@ -49,7 +49,7 @@ class FunctionsList(gtk.TreeView):
width, height = gtk.icon_size_lookup(gtk.ICON_SIZE_SMALL_TOOLBAR)
color_renderer.set_fixed_size(int(width * 1.5), int(height * 1.5))
# int(style.SMALL_ICON_SIZE * 4), -1)
- color_renderer.props.size = height * 1.5
+ color_renderer.set_size(int(height * 1.5))
color_renderer.set_icon_name('color-preview')
color_renderer.props.stroke_color = '#000000'
color_renderer.props.fill_color = '#FFFFFF'