2006-05-12 08:34:20 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
import pygtk
|
|
|
|
pygtk.require('2.0')
|
|
|
|
import gtk
|
2006-06-15 04:04:44 +02:00
|
|
|
import dbus
|
2006-05-12 08:34:20 +02:00
|
|
|
|
|
|
|
import sugar.env
|
2006-06-21 22:05:52 +02:00
|
|
|
from sugar.LogWriter import LogWriter
|
2006-06-21 20:23:18 +02:00
|
|
|
|
|
|
|
from BrowserShell import BrowserShell
|
2006-05-12 08:34:20 +02:00
|
|
|
|
2006-05-23 22:02:13 +02:00
|
|
|
log_writer = LogWriter("Web")
|
|
|
|
log_writer.start()
|
2006-05-18 21:58:42 +02:00
|
|
|
|
2006-06-15 04:04:44 +02:00
|
|
|
session_bus = dbus.SessionBus()
|
|
|
|
bus_name = dbus.service.BusName('com.redhat.Sugar.Browser', bus=session_bus)
|
|
|
|
shell = BrowserShell(bus_name)
|
|
|
|
shell.start()
|