diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-12-22 09:46:38 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-12-22 09:46:38 (GMT) |
commit | 8a735604ba5cdc440894c55971331cea3caaa3c3 (patch) | |
tree | 2e19405e7c1b036336b8573d87a79b39124860e5 /webactivity.py | |
parent | 26e022ddb5a3f7caefce5e9c232b7d00bd382408 (diff) |
Revert "Initial import of the shared profile"
This reverts commit eca8880ff44e29920c58be3a80ca45527ef8e960.
Diffstat (limited to 'webactivity.py')
-rwxr-xr-x | webactivity.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/webactivity.py b/webactivity.py index 98658e5..8ff8db4 100755 --- a/webactivity.py +++ b/webactivity.py @@ -35,14 +35,10 @@ from sugar.graphics.alert import Alert from sugar.graphics.icon import Icon from sugar import mime -import sharedprofile - -sharedprofile.create_local_profile(activity.get_activity_root()) - PROFILE_VERSION = 1 _profile_version = 0 -_profile_path = os.path.join(activity.get_activity_root(), 'instance/profile') +_profile_path = os.path.join(activity.get_activity_root(), 'data/gecko') _version_file = os.path.join(_profile_path, 'version') if os.path.exists(_version_file): @@ -326,8 +322,6 @@ class WebActivity(activity.Activity): f.write(self.model.serialize()) finally: f.close() - sharedprofile.update_shared_profile(activity.get_activity_root()) - sharedprofile.garbage_collector(activity.get_activity_root()) def _link_add_button_cb(self, button): _logger.debug('button: Add link: %s.' % self.current) |