summaryrefslogtreecommitdiffabout
path: root/content/browser.xul
authorMichael Krelin <hacker@klever.net>2006-12-18 14:57:58 (UTC)
committer Michael Krelin <hacker@klever.net>2006-12-18 14:57:58 (UTC)
commit4bf5c81652cc684a5d5ba3fb4910697b8daaca22 (patch) (unidiff)
treea49ff0d13ebbfa4be6f1a2d946f527d64d0e75a6 /content/browser.xul
parent676ead33f615fbc2affb3cb979d1316f0676daef (diff)
downloadfireflix-4bf5c81652cc684a5d5ba3fb4910697b8daaca22.zip
fireflix-4bf5c81652cc684a5d5ba3fb4910697b8daaca22.tar.gz
fireflix-4bf5c81652cc684a5d5ba3fb4910697b8daaca22.tar.bz2
Shortcut key for opening up fireflix toolbar. Not configurable, yet.
git-svn-id: http://svn.klever.net/kin/fireflix/trunk@239 fe716a7a-6dde-0310-88d9-d003556173a8
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,30 +1,35 @@
1<?xml version="1.0"?> 1<?xml version="1.0"?>
2<!DOCTYPE overlay SYSTEM "chrome://fireflix/locale/fireflix.dtd"> 2<!DOCTYPE overlay SYSTEM "chrome://fireflix/locale/fireflix.dtd">
3<overlay id="fireflixOverlay" 3<overlay id="fireflixOverlay"
4 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" > 4 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
5 5
6 <menupopup id="viewSidebarMenu"> 6 <menupopup id="viewSidebarMenu">
7 <menuitem observes="viewFireflixSidebar" /> 7 <menuitem observes="viewFireflixSidebar" key="fireflix-key" />
8 </menupopup> 8 </menupopup>
9 9
10 <broadcasterset id="mainBroadcasterSet"> 10 <broadcasterset id="mainBroadcasterSet">
11 <broadcaster id="viewFireflixSidebar" 11 <broadcaster id="viewFireflixSidebar"
12 autoCheck="false" label="&browser.sidebar.label;" 12 autoCheck="false" label="&browser.sidebar.label;"
13 tooltiptext="&browser.sidebar.tooltip;" 13 tooltiptext="&browser.sidebar.tooltip;"
14 type="checkbox" group="sidebar" 14 type="checkbox" group="sidebar"
15 sidebarurl="chrome://fireflix/content/fireflix-panel.xul" 15 sidebarurl="chrome://fireflix/content/fireflix-panel.xul"
16 sidebartitle="&browser.sidebar.title;" 16 sidebartitle="&browser.sidebar.title;"
17 oncommand="toggleSidebar('viewFireflixSidebar')" /> 17 oncommand="toggleSidebar('viewFireflixSidebar')" />
18 </broadcasterset> 18 </broadcasterset>
19 19
20 <toolbarpalette id="BrowserToolbarPalette"> 20 <toolbarpalette id="BrowserToolbarPalette">
21 <toolbarbutton id="fireflix-button" 21 <toolbarbutton id="fireflix-button"
22 oncommand="toggleSidebar('viewFireflixSidebar')" 22 oncommand="toggleSidebar('viewFireflixSidebar')"
23 image="chrome://fireflix/content/icons/16x16/toolbar-button.png" > 23 image="chrome://fireflix/content/icons/16x16/toolbar-button.png" >
24 <observes element="viewFireflixSidebar" attribute="label"/> 24 <observes element="viewFireflixSidebar" attribute="label"/>
25 <observes element="viewFireflixSidebar" attribute="tooltiptext"/> 25 <observes element="viewFireflixSidebar" attribute="tooltiptext"/>
26 </toolbarbutton> 26 </toolbarbutton>
27 </toolbarpalette> 27 </toolbarpalette>
28 28
29 <keyset id="mainKeyset">
30 <key id="fireflix-key" command="viewFireflixSidebar"
31 key="&sidekey.key;" modifiers="&sidekey.modifiers;" />
32 </keyset>
33
29</overlay> 34</overlay>
30 35