Shutdown the factory when all activities has been destroyed.

Initialize the profile.
This commit is contained in:
Marco Pesenti Gritti
2006-10-13 11:24:07 +02:00
parent c7fdae2606
commit 395472edea
2 changed files with 17 additions and 1 deletions
+6 -1
View File
@@ -1,7 +1,9 @@
import gtk
from gettext import gettext as _
import gtk
import gtkmozembed
from sugar.activity.Activity import Activity
from sugar import env
from webbrowser import WebBrowser
from toolbar import Toolbar
@@ -32,3 +34,6 @@ class WebActivity(Activity):
def _title_changed_cb(self, embed, pspec):
self.set_title(embed.props.title)
def start():
gtkmozembed.set_profile_path(env.get_profile_path(), 'gecko')