projects
/
drlaunch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
15a43ab
)
(no commit message)
author
Stefanos Harhalakis
<v13@v13.gr>
Thu, 24 Jun 2010 15:37:03 +0000
(15:37 +0000)
committer
Stefanos Harhalakis
<v13@v13.gr>
Thu, 24 Jun 2010 15:37:03 +0000
(15:37 +0000)
src/widget.py
patch
|
blob
|
history
diff --git
a/src/widget.py
b/src/widget.py
index
34e73c7
..
01d8366
100755
(executable)
--- a/
src/widget.py
+++ b/
src/widget.py
@@
-113,28
+113,12
@@
class DrlaunchPlugin(IconGrid, HomePluginItem, FremantleRotation):
hd_plugin_type = DrlaunchPlugin
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()
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:
# vim: set ts=8 sts=4 sw=4 noet formatoptions=r ai nocindent: