#!/usr/bin/env python
import gtk
import webkit
import gobject
gobject.threads_init()
win = gtk.Window()
win.set_default_size(820,460)
win.set_title('MusicBeam')
bro = webkit.WebView()
settings = webkit.WebSettings()
settings.set_property("auto-resize-window", True)
settings.set_property("enable-scripts", True)
settings.set_property("default-encoding", "utf-8")
settings.set_property("enable-plugins", True)
settings.set_property("enable-private-browsing", True)
bro.set_settings(settings)
bro.open("http://musicbeam.it.cx")
win.add(bro)
win.connect('delete-event', gtk.main_quit)
win.show_all()
win.set_resizable(False)
gtk.main()