[gcompris/gcomprixogoo] No more point to skin image.



commit 726b2b9c74f45a79e013975c0be0c2c6afe32889
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Fri Jul 3 23:48:15 2009 +0200

    No more point to skin image.

 src/redraw-activity/redraw.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/redraw-activity/redraw.py b/src/redraw-activity/redraw.py
index efd4368..dfd3cc5 100644
--- a/src/redraw-activity/redraw.py
+++ b/src/redraw-activity/redraw.py
@@ -395,12 +395,12 @@ class Gcompris_redraw:
       if event.button == 1:
         gcompris.sound.play_ogg("sounds/bleep.wav")
         # Deactivate old button
-        self.old_tool_item.props.pixbuf = gcompris.utils.load_pixmap(gcompris.skin.image_to_skin(self.tools[self.current_tool][1]))
+        self.old_tool_item.props.pixbuf = gcompris.utils.load_pixmap(self.tools[self.current_tool][1])
 
         # Activate new button
         self.current_tool = tool
         self.old_tool_item = item
-        self.old_tool_item.props.pixbuf = gcompris.utils.load_pixmap(gcompris.skin.image_to_skin(self.tools[self.current_tool][2]))
+        self.old_tool_item.props.pixbuf = gcompris.utils.load_pixmap(self.tools[self.current_tool][2])
         gcompris.set_cursor(self.tools[self.current_tool][3]);
 
   # Display the color selector



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]