Load session from .activity files
This commit is contained in:
@@ -9,5 +9,11 @@ icon_DATA = \
|
||||
fold.png \
|
||||
unfold.png
|
||||
|
||||
rcdir = $(pkgdatadir)
|
||||
rc_DATA = browser.rc
|
||||
|
||||
activitydir = $(pkgdatadir)/activities
|
||||
activity_DATA = browser.activity
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(icon_DATA)
|
||||
|
||||
@@ -340,5 +340,8 @@ if len(sys.argv) > 1 and sys.argv[1] == "--console":
|
||||
sys.stdout = LogWriter("Web Browser")
|
||||
sys.stderr = LogWriter("Web Browser")
|
||||
|
||||
gtk.rc_parse(sugar.env.get_data_file('browser.rc'))
|
||||
|
||||
BrowserShell.get_instance().open_web_activity()
|
||||
|
||||
gtk.main()
|
||||
|
||||
Reference in New Issue
Block a user