diff --git a/shell/BuddyPopup.py b/shell/BuddyPopup.py new file mode 100644 index 00000000..fac2d27a --- /dev/null +++ b/shell/BuddyPopup.py @@ -0,0 +1,10 @@ +import gtk + +from sugar.canvas.CanvasBox import CanvasBox + +class BuddyPopup(gtk.Window): + def __init__(self, grid) + gtk.Window.__init__(self, gtk.WINDOW_POPUP) + + box = CanvasBox(grid) + diff --git a/tests/test-theme.py b/tests/test-theme.py new file mode 100755 index 00000000..e73f861c --- /dev/null +++ b/tests/test-theme.py @@ -0,0 +1,21 @@ +#!/usr/bin/python +import pygtk +pygtk.require('2.0') + +from sugar.session.UITestSession import UITestSession + +session = UITestSession() +session.start() + +import gtk +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.show() + +gtk.main()