|
Lines 3-9
Link Here
|
| 3 |
|
3 |
|
| 4 |
--- components/foxyproxy.js.orig |
4 |
--- components/foxyproxy.js.orig |
| 5 |
+++ components/foxyproxy.js |
5 |
+++ components/foxyproxy.js |
| 6 |
@@ -424,15 +424,13 @@ |
6 |
@@ -424,15 +424,12 @@ |
| 7 |
}, |
7 |
}, |
| 8 |
|
8 |
|
| 9 |
getDefaultPath : function() { |
9 |
getDefaultPath : function() { |
|
Lines 14-20
Link Here
|
| 14 |
+ var file = CC["@mozilla.org/file/local;1"].createInstance(CI.nsILocalFile); |
14 |
+ var file = CC["@mozilla.org/file/local;1"].createInstance(CI.nsILocalFile); |
| 15 |
+ var dir = CC["@mozilla.org/file/directory_service;1"].getService(CI.nsIProperties).get("ProfD", CI.nsILocalFile); |
15 |
+ var dir = CC["@mozilla.org/file/directory_service;1"].getService(CI.nsIProperties).get("ProfD", CI.nsILocalFile); |
| 16 |
// dump("settings file: " + f.path + "\n"); |
16 |
// dump("settings file: " + f.path + "\n"); |
| 17 |
return f; |
17 |
- return f; |
| 18 |
- // file.initWithPath(dir.path); |
18 |
- // file.initWithPath(dir.path); |
| 19 |
- // file.appendRelativePath("foxyproxy.xml"); |
19 |
- // file.appendRelativePath("foxyproxy.xml"); |
| 20 |
- // return file; |
20 |
- // return file; |