From a253051e8bedde1727e3615c15965afe72e0ae35 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Fri, 9 Oct 2009 15:14:22 +0000 Subject: Restructuring git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@263 119bf307-c92d-0410-89bd-8f53e6181181 --- chrome/content/code/browserOverlay.xul.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'chrome/content/code/browserOverlay.xul.js') 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); } -- cgit v1.2.3-70-g09d2