| Index: chrome/content/watcher.js |
| =================================================================== |
| --- a/chrome/content/watcher.js |
| +++ b/chrome/content/watcher.js |
| @@ -126,16 +126,17 @@ function processQueue() |
| for each (let entry in processingQueue) |
| { |
| entry.cols = { |
| address: stringify(entry.location), |
| type: stringify(entry.type), |
| result: stringBundle.GetStringFromName(entry.result && entry.result.allow ? "decision.allow" : "decision.block"), |
| origin: stringify(entry.frames && entry.frames[0] && entry.frames[0].location), |
| + private: stringBundle.GetStringFromName(entry.isPrivate ? "private.yes" : "private.no"), |
| filters: stringify(entry.filters && entry.filters.join(", ")), |
| time: stringify(entry.processingTime) |
| }; |
| treeView.add(entry); |
| } |
| processingQueue = []; |
| } |
| @@ -264,17 +265,17 @@ var treeView = { |
| setTree: function(boxObject) |
| { |
| if (!boxObject) |
| return; |
| this.boxObject = boxObject; |
| let atomService = Cc["@mozilla.org/atom-service;1"].getService(Ci.nsIAtomService); |
| - for each (let col in ["address", "type", "result", "origin", "filter", "time"]) |
| + for each (let col in ["address", "type", "result", "origin", "private", "filter", "time"]) |
| { |
| let atomStr = "col-" + col; |
| this.atoms[atomStr] = atomService.getAtom(atomStr); |
| } |
| for each (let flag in ["selected", "blocked"]) |
| { |
| let atomStr = flag + "-true"; |
| this.atoms[atomStr] = atomService.getAtom(atomStr); |