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-01 00:01:24 +02:00
|
|
|
from sugar.session.LogWriter import LogWriter
|
|
|
|
from sugar.browser.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-05-18 06:24:32 +02:00
|
|
|
gtk.rc_parse(sugar.env.get_data_file('browser.rc'))
|
|
|
|
|
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()
|