-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 @@ | |||
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" |
@@ -25,6 +25,11 @@ | |||
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 | ||
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 @@ | |||
13 | <!ENTITY copying.title "Filreflix: copying policy"> | 13 | <!ENTITY copying.title "Filreflix: copying policy"> |
14 | 14 | ||
15 | <!-- Sidebar --> | 15 | <!-- Sidebar --> |
16 | 16 | ||
17 | <!ENTITY sidekey.key "X"> | ||
18 | <!ENTITY sidekey.modifiers "control shift"> | ||
19 | |||
17 | <!ENTITY panel.auth_info "Authorization info"> | 20 | <!ENTITY panel.auth_info "Authorization info"> |
18 | <!ENTITY panel.no_auth_info "No auth info available"> | 21 | <!ENTITY panel.no_auth_info "No auth info available"> |
19 | 22 | ||
20 | <!ENTITY panel.auth.auth.label "Authorize"> | 23 | <!ENTITY panel.auth.auth.label "Authorize"> |