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 +++---- chrome/content/images/redirector.png | Bin 1462 -> 0 bytes chrome/content/images/statusactive.PNG | Bin 360 -> 0 bytes chrome/content/images/statusinactive.PNG | Bin 396 -> 0 bytes chrome/content/ui/browserOverlay.xul | 2 +- chrome/content/ui/settings.xul | 2 +- chrome/skin/redirector.png | Bin 0 -> 1462 bytes chrome/skin/statusactive.PNG | Bin 0 -> 360 bytes chrome/skin/statusinactive.PNG | Bin 0 -> 396 bytes 9 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 chrome/content/images/redirector.png delete mode 100644 chrome/content/images/statusactive.PNG delete mode 100644 chrome/content/images/statusinactive.PNG create mode 100644 chrome/skin/redirector.png create mode 100644 chrome/skin/statusactive.PNG create mode 100644 chrome/skin/statusinactive.PNG (limited to 'chrome') 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); } diff --git a/chrome/content/images/redirector.png b/chrome/content/images/redirector.png deleted file mode 100644 index f8de12c..0000000 Binary files a/chrome/content/images/redirector.png and /dev/null differ diff --git a/chrome/content/images/statusactive.PNG b/chrome/content/images/statusactive.PNG deleted file mode 100644 index 06ce766..0000000 Binary files a/chrome/content/images/statusactive.PNG and /dev/null differ diff --git a/chrome/content/images/statusinactive.PNG b/chrome/content/images/statusinactive.PNG deleted file mode 100644 index 8b83562..0000000 Binary files a/chrome/content/images/statusinactive.PNG and /dev/null differ diff --git a/chrome/content/ui/browserOverlay.xul b/chrome/content/ui/browserOverlay.xul index 77bab92..7b40c65 100644 --- a/chrome/content/ui/browserOverlay.xul +++ b/chrome/content/ui/browserOverlay.xul @@ -23,7 +23,7 @@ - diff --git a/chrome/content/ui/settings.xul b/chrome/content/ui/settings.xul index 58c726a..fca43a4 100644 --- a/chrome/content/ui/settings.xul +++ b/chrome/content/ui/settings.xul @@ -17,7 +17,7 @@ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">