From 4d9df0f9f7a47cc6786e192cb944d0afaae84610 Mon Sep 17 00:00:00 2001 From: Stefanos Harhalakis Date: Thu, 24 Jun 2010 15:37:03 +0000 Subject: [PATCH] --- src/widget.py | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/widget.py b/src/widget.py index 34e73c7..01d8366 100755 --- a/src/widget.py +++ b/src/widget.py @@ -113,28 +113,12 @@ class DrlaunchPlugin(IconGrid, HomePluginItem, FremantleRotation): hd_plugin_type = DrlaunchPlugin -def do1(): -# gobject.type_register(MyQ) +if __name__=="__main__": gobject.type_register(hd_plugin_type) obj=gobject.new(hd_plugin_type, plugin_id="plugin_id") obj.show_all() gtk.main() -def do2(): - win=DrlaunchPlugin() - win.connect('delete-event', gtk.main_quit) - - print "win:", win - -# t=DrlaunchPlugin() -# win.add(t) - - win.show_all() - gtk.main() - -if __name__=="__main__": - do1() - # vim: set ts=8 sts=4 sw=4 noet formatoptions=r ai nocindent: -- 1.7.9.5