aboutsummaryrefslogtreecommitdiff
path: root/chrome/browserOverlay.xul
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browserOverlay.xul')
-rw-r--r--chrome/browserOverlay.xul25
1 files changed, 17 insertions, 8 deletions
diff --git a/chrome/browserOverlay.xul b/chrome/browserOverlay.xul
index 5859a93..8a97546 100644
--- a/chrome/browserOverlay.xul
+++ b/chrome/browserOverlay.xul
@@ -3,31 +3,40 @@
<!DOCTYPE overlay SYSTEM "chrome://redirector/locale/browserOverlay.dtd">
<overlay id="redirector-overlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
- <script src="chrome://redirector/content/js/browserOverlay.js"/>
+ <script src="chrome://redirector/content/js/browserOverlay.js" />
<stringbundleset id="stringbundleset">
- <stringbundle id="redirector-strings" src="chrome://redirector/locale/redirector.properties"/>
+ <stringbundle id="redirector-strings"
+ src="chrome://redirector/locale/redirector.properties" />
</stringbundleset>
<commandset>
<command id="redirector-toggle"
- label="Toggle"
- oncommand="RedirectorOverlay.toggleEnabled();"/>
+ oncommand="RedirectorOverlay.toggleEnabled();" />
</commandset>
+ <popupset>
+ <tooltip id="redirector-tooltip"
+ onpopupshowing="RedirectorOverlay.updateTooltip(event);">
+ <label class="redirector-tooltip-version" />
+ </tooltip>
+ </popupset>
+
<toolbarpalette id="BrowserToolbarPalette">
<toolbarbutton id="redirector-button"
- label="URL Rewriter"
command="redirector-toggle"
class="toolbarbutton-1"
- type="menu-button">
+ type="menu-button"
+ label="URL Rewriter"
+ tooltip="redirector-tooltip">
<menupopup>
<menuitem id="redirector-enabled-item"
type="checkbox"
- command="redirector-toggle"/>
+ command="redirector-toggle"
+ label="Enable" />
<menuitem id="redirector-settings-item"
label="Settings"
- oncommand="RedirectorOverlay.openSettings();"/>
+ oncommand="RedirectorOverlay.openSettings();" />
</menupopup>
</toolbarbutton>
</toolbarpalette>