Clean up web radio

I removed most of the comments from the web radio plugin.
This commit is contained in:
Bryan Schumaker 2010-11-30 22:33:47 -05:00
parent 675e4c62e8
commit c5a38e0b7f
1 changed files with 1 additions and 7 deletions

View File

@ -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)