summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java
diff options
context:
space:
mode:
authorGrant Gayed <grant_gayed@ca.ibm.com>2013-06-25 12:37:52 -0400
committerGrant Gayed <grant_gayed@ca.ibm.com>2013-06-25 12:37:52 -0400
commita59b6fabc99a8df2b83df5400ce5a7fa2acc24a3 (patch)
treeab822db1c548995411a5c3fb9ce945c807f48058 /bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java
parent8c4c9f977636102945c1cc11875675a2b5dbdcd5 (diff)
downloadeclipse.platform.swt-a59b6fabc99a8df2b83df5400ce5a7fa2acc24a3.tar.gz
eclipse.platform.swt-a59b6fabc99a8df2b83df5400ce5a7fa2acc24a3.tar.xz
eclipse.platform.swt-a59b6fabc99a8df2b83df5400ce5a7fa2acc24a3.zip
Bug 178918 - Flexible Mozilla profile support - new API request
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java
index dd8e286ae5..6fcb469cca 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java
@@ -30,6 +30,7 @@ class AppFileLocProvider {
static final String HISTORY_FILE = "history.dat"; //$NON-NLS-1$
static final String LOCALSTORE_FILE = "localstore.rdf"; //$NON-NLS-1$
static final String MIMETYPES_FILE = "mimeTypes.rdf"; //$NON-NLS-1$
+ static final String MOZILLA_PLUGIN_PATH = "MOZ_PLUGIN_PATH"; //$NON-NLS-1$
static final String PLUGINS_DIR = "plugins"; //$NON-NLS-1$
static final String USER_PLUGINS_DIR = ".mozilla" + SEPARATOR_OS + "plugins"; //$NON-NLS-1$ //$NON-NLS-2$
static final String PREFERENCES_FILE = "prefs.js"; //$NON-NLS-1$
@@ -154,7 +155,7 @@ int getFiles (long /*int*/ prop, long /*int*/ _retval) {
if (pluginDirs == null) {
int index = 0;
/* set the first value(s) to the MOZ_PLUGIN_PATH environment variable value if it's defined */
- long /*int*/ ptr = C.getenv (MozillaDelegate.wcsToMbcs (null, XPCOM.MOZILLA_PLUGIN_PATH, true));
+ long /*int*/ ptr = C.getenv (MozillaDelegate.wcsToMbcs (null, MOZILLA_PLUGIN_PATH, true));
if (ptr != 0) {
int length = C.strlen (ptr);
byte[] buffer = new byte[length];