Clean up web radio
I removed most of the comments from the web radio plugin.
This commit is contained in:
parent
4f5c3e8b57
commit
5d17242912
|
@ -15,21 +15,15 @@ web = webkit.WebView()
|
|||
|
||||
#box.pack_start(sel)
|
||||
#box.pack_start(web)
|
||||
#page.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
|
||||
page.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
|
||||
#page.add_with_viewport(box)
|
||||
page.add(web)
|
||||
#page.show_all()
|
||||
|
||||
#web.load_html_string("<html> \
|
||||
# <a href=\"http://www.pandora.com\">Pandora</a><br> \
|
||||
# <a href=\"http://www.grooveshark.com\">Groove Shark</a> \
|
||||
# </html>", "http:///")
|
||||
html = path.join(path.cwd(), "html")
|
||||
radio = path.join(html, "web_radio.html")
|
||||
web.open(radio)
|
||||
|
||||
page.show_all()
|
||||
#page.show()
|
||||
|
||||
def start():
|
||||
body.add_page("Web Radio", page)
|
||||
|
|
Loading…
Reference in New Issue
Block a user