summaryrefslogtreecommitdiffabout
path: root/content/browser.xul
Side-by-side diff
Diffstat (limited to 'content/browser.xul') (more/less context) (ignore whitespace changes)
-rw-r--r--content/browser.xul7
1 files changed, 6 insertions, 1 deletions
diff --git a/content/browser.xul b/content/browser.xul
index 0c699d9..b535343 100644
--- a/content/browser.xul
+++ b/content/browser.xul
@@ -1,15 +1,15 @@
<?xml version="1.0"?>
<!DOCTYPE overlay SYSTEM "chrome://fireflix/locale/fireflix.dtd">
<overlay id="fireflixOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
<menupopup id="viewSidebarMenu">
- <menuitem observes="viewFireflixSidebar" />
+ <menuitem observes="viewFireflixSidebar" key="fireflix-key" />
</menupopup>
<broadcasterset id="mainBroadcasterSet">
<broadcaster id="viewFireflixSidebar"
autoCheck="false" label="&browser.sidebar.label;"
tooltiptext="&browser.sidebar.tooltip;"
type="checkbox" group="sidebar"
sidebarurl="chrome://fireflix/content/fireflix-panel.xul"
@@ -21,10 +21,15 @@
<toolbarbutton id="fireflix-button"
oncommand="toggleSidebar('viewFireflixSidebar')"
image="chrome://fireflix/content/icons/16x16/toolbar-button.png" >
<observes element="viewFireflixSidebar" attribute="label"/>
<observes element="viewFireflixSidebar" attribute="tooltiptext"/>
</toolbarbutton>
</toolbarpalette>
+ <keyset id="mainKeyset">
+ <key id="fireflix-key" command="viewFireflixSidebar"
+ key="&sidekey.key;" modifiers="&sidekey.modifiers;" />
+ </keyset>
+
</overlay>