diff --git a/webactivity.py b/webactivity.py
index e17d3b2..aa8c9a9 100644
a
|
b
|
_profile_version = 0 |
44 | 44 | _profile_path = os.path.join(activity.get_activity_root(), 'data/gecko') |
45 | 45 | _version_file = os.path.join(_profile_path, 'version') |
46 | 46 | |
| 47 | _plugin_path = os.path.join(os.environ['SUGAR_BUNDLE_PATH'], 'plugins') |
| 48 | _mozplugger_conf_path = os.path.join(os.environ['SUGAR_BUNDLE_PATH'], 'plugins', \ |
| 49 | 'conf') |
| 50 | |
| 51 | # Setup some env variables for the embedded PDF viewer |
| 52 | os.environ['MOZ_PLUGIN_PATH'] = _plugin_path |
| 53 | os.environ['OPERA_DIR'] = _mozplugger_conf_path #XXX |
| 54 | |
47 | 55 | if os.path.exists(_version_file): |
48 | 56 | f = open(_version_file) |
49 | 57 | _profile_version = int(f.read()) |