[Desktop Entry] Name=Python Test Type=python X-Path=pythontest
import gtk import hildondesktop class PythonTestApp(hildondesktop.TaskNavigatorItem): def __init__(self): hildondesktop.TaskNavigatorItem.__init__(self) image = gtk.Image() image.set_from_stock(gtk.STOCK_CUT, gtk.ICON_SIZE_LARGE_TOOLBAR) button = gtk.Button() button.connect("clicked", self.clicked, None) button.set_image(image) button.set_size_request(80, 80); button.show() self.add(button) def hd_plugin_get_objects(): plugin = PythonTestApp() return [plugin]