Skeleton theme test
This commit is contained in:
parent
a1d629b6cd
commit
8f6baf6239
10
shell/BuddyPopup.py
Normal file
10
shell/BuddyPopup.py
Normal 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
21
tests/test-theme.py
Executable 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()
|
Loading…
Reference in New Issue
Block a user