sugar-toolkit-gtk3/activities/browser/browser.py
2006-06-21 16:05:52 -04:00

20 lines
380 B
Python
Executable File

#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk
import dbus
import sugar.env
from sugar.LogWriter import LogWriter
from BrowserShell import BrowserShell
log_writer = LogWriter("Web")
log_writer.start()
session_bus = dbus.SessionBus()
bus_name = dbus.service.BusName('com.redhat.Sugar.Browser', bus=session_bus)
shell = BrowserShell(bus_name)
shell.start()