(no commit message)
authorStefanos Harhalakis <v13@v13.gr>
Thu, 24 Jun 2010 15:37:03 +0000 (15:37 +0000)
committerStefanos Harhalakis <v13@v13.gr>
Thu, 24 Jun 2010 15:37:03 +0000 (15:37 +0000)
src/widget.py

index 34e73c7..01d8366 100755 (executable)
@@ -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: