summaryrefslogtreecommitdiff
path: root/www/xpi-foxyproxy/files/patch-components_foxyproxy.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/xpi-foxyproxy/files/patch-components_foxyproxy.js')
-rw-r--r--www/xpi-foxyproxy/files/patch-components_foxyproxy.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/www/xpi-foxyproxy/files/patch-components_foxyproxy.js b/www/xpi-foxyproxy/files/patch-components_foxyproxy.js
deleted file mode 100644
index b1f3c8f43319..000000000000
--- a/www/xpi-foxyproxy/files/patch-components_foxyproxy.js
+++ /dev/null
@@ -1,26 +0,0 @@
-
-$FreeBSD$
-
---- components/foxyproxy.js.orig
-+++ components/foxyproxy.js
-@@ -424,15 +424,13 @@
- },
-
- getDefaultPath : function() {
-- //var file = CC["@mozilla.org/file/local;1"].createInstance(CI.nsILocalFile);
-- //var dir = CC["@mozilla.org/file/directory_service;1"].getService(CI.nsIProperties).get("ProfD", CI.nsILocalFile);
-- var f = settingsDir.clone();
-- f.append("foxyproxy.xml");
-+ var file = CC["@mozilla.org/file/local;1"].createInstance(CI.nsILocalFile);
-+ var dir = CC["@mozilla.org/file/directory_service;1"].getService(CI.nsIProperties).get("ProfD", CI.nsILocalFile);
- // dump("settings file: " + f.path + "\n");
- return f;
-- // file.initWithPath(dir.path);
-- // file.appendRelativePath("foxyproxy.xml");
-- // return file;
-+ file.initWithPath(dir.path);
-+ file.appendRelativePath("foxyproxy.xml");
-+ return file;
- },
-
- // Convert |o| from: