diff options
author | Einar Egilsson | 2009-10-09 15:14:22 +0000 |
---|---|---|
committer | Einar Egilsson | 2009-10-09 15:14:22 +0000 |
commit | a253051e8bedde1727e3615c15965afe72e0ae35 (patch) | |
tree | 182135113e38b9442d7ab4e7382b0a4beadb0c56 /chrome/content/code/browserOverlay.xul.js | |
parent | a7f2d159bb3aa3c515b6f858d3e592618f62cbdf (diff) |
Restructuring
git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@263 119bf307-c92d-0410-89bd-8f53e6181181
Diffstat (limited to 'chrome/content/code/browserOverlay.xul.js')
-rw-r--r-- | chrome/content/code/browserOverlay.xul.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/content/code/browserOverlay.xul.js b/chrome/content/code/browserOverlay.xul.js index b5ec077..28047b1 100644 --- a/chrome/content/code/browserOverlay.xul.js +++ b/chrome/content/code/browserOverlay.xul.js @@ -16,7 +16,6 @@ var RedirectorOverlay = { this.strings = document.getElementById("redirector-strings"); this.changedPrefs(Redirector.prefs); Redirector.prefs.addListener(this); - } catch(e) { if (this.strings) { alert(this.strings.getString("initError") + "\n\n" + e); @@ -35,10 +34,10 @@ var RedirectorOverlay = { var statusImg = document.getElementById('redirector-statusbar-img'); if (prefs.enabled) { - statusImg.src = 'chrome://redirector/content/images/statusactive.PNG' + statusImg.src = 'chrome://redirector/skin/statusactive.png' statusImg.setAttribute('tooltiptext', this.strings.getString('enabledTooltip')); } else { - statusImg.src = 'chrome://redirector/content/images/statusinactive.PNG' + statusImg.src = 'chrome://redirector/skin/statusinactive.png' statusImg.setAttribute('tooltiptext', this.strings.getString('disabledTooltip')); } @@ -82,7 +81,7 @@ var RedirectorOverlay = { if (win) { win.focus(); } else { - window.openDialog("chrome://redirector/content/ui/redirectList.xul", + window.openDialog("chrome://redirector/content/ui/settings.xul", windowName, "chrome,dialog,resizable=yes,centerscreen", this); } |