Skeleton theme test

This commit is contained in:
Marco Pesenti Gritti 2006-09-13 16:26:54 +02:00
parent a1d629b6cd
commit 8f6baf6239
2 changed files with 31 additions and 0 deletions

10
shell/BuddyPopup.py Normal file
View File

@ -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)

21
tests/test-theme.py Executable file
View File

@ -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()