diff --git a/sugar/canvas/Makefile.am b/sugar/canvas/Makefile.am index e4c142b8..619ec2aa 100644 --- a/sugar/canvas/Makefile.am +++ b/sugar/canvas/Makefile.am @@ -1,6 +1,7 @@ sugardir = $(pythondir)/sugar/canvas sugar_PYTHON = \ __init__.py \ + CanvasView.py \ Colors.py \ GridLayout.py \ GridModel.py \ diff --git a/tests/test-icons.py b/tests/test-icons.py index 2e362fb3..b0d64852 100755 --- a/tests/test-icons.py +++ b/tests/test-icons.py @@ -9,15 +9,13 @@ import goocanvas from sugar.canvas import IconColor from sugar.canvas.IconItem import IconItem +from sugar.canvas.CanvasView import CanvasView window = gtk.Window() window.connect("destroy", lambda w: gtk.main_quit()) -window.set_default_size(800, 600) window.show() -canvas = goocanvas.CanvasView() -canvas.set_size_request(800, 600) -canvas.set_bounds(0, 0, 800, 600) +canvas = CanvasView() canvas.show() window.add(canvas)