author | Michael Krelin <hacker@klever.net> | 2006-12-18 14:57:58 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2006-12-18 14:57:58 (UTC) |
commit | 4bf5c81652cc684a5d5ba3fb4910697b8daaca22 (patch) (side-by-side diff) | |
tree | a49ff0d13ebbfa4be6f1a2d946f527d64d0e75a6 | |
parent | 676ead33f615fbc2affb3cb979d1316f0676daef (diff) | |
download | fireflix-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
-rw-r--r-- | content/browser.xul | 7 | ||||
-rw-r--r-- | locale/en-US/fireflix.dtd | 3 |
2 files changed, 9 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 @@ -3,9 +3,9 @@ <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" @@ -25,6 +25,11 @@ <observes element="viewFireflixSidebar" attribute="tooltiptext"/> </toolbarbutton> </toolbarpalette> + <keyset id="mainKeyset"> + <key id="fireflix-key" command="viewFireflixSidebar" + key="&sidekey.key;" modifiers="&sidekey.modifiers;" /> + </keyset> + </overlay> diff --git a/locale/en-US/fireflix.dtd b/locale/en-US/fireflix.dtd index 668b684..3380078 100644 --- a/locale/en-US/fireflix.dtd +++ b/locale/en-US/fireflix.dtd @@ -13,8 +13,11 @@ <!ENTITY copying.title "Filreflix: copying policy"> <!-- Sidebar --> +<!ENTITY sidekey.key "X"> +<!ENTITY sidekey.modifiers "control shift"> + <!ENTITY panel.auth_info "Authorization info"> <!ENTITY panel.no_auth_info "No auth info available"> <!ENTITY panel.auth.auth.label "Authorize"> |