Adapt to the new artwork stylesheets

This commit is contained in:
Marco Pesenti Gritti
2006-08-19 13:39:13 +02:00
parent fd20af1431
commit 32a368bdbb
2 changed files with 12 additions and 4 deletions
+5
View File
@@ -100,6 +100,11 @@ class Model(goocanvas.CanvasModelSimple):
tasks.translate(600, 450)
root.add_child(tasks)
me = IconItem('stock-buddy', 'green', 150)
me.translate(600 - (me.get_property('width') / 2),
450 - (me.get_property('height') / 2))
root.add_child(me)
class HomeView(goocanvas.CanvasView):
def __init__(self, shell):
goocanvas.CanvasView.__init__(self)