summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--content/browser.xul7
-rw-r--r--locale/en-US/fireflix.dtd3
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
@@ -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
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
@@ -1,32 +1,35 @@
1<!ENTITY % autoconf SYSTEM "chrome://fireflix/content/autoconf.dtd"> 1<!ENTITY % autoconf SYSTEM "chrome://fireflix/content/autoconf.dtd">
2%autoconf; 2%autoconf;
3 3
4<!-- About Box --> 4<!-- About Box -->
5 5
6<!ENTITY aboutFireflix "About Fireflix" > 6<!ENTITY aboutFireflix "About Fireflix" >
7<!ENTITY about.ok.label "OK"> 7<!ENTITY about.ok.label "OK">
8<!ENTITY about.license.label "License"> 8<!ENTITY about.license.label "License">
9<!ENTITY about.license.tip "Show copying policy"> 9<!ENTITY about.license.tip "Show copying policy">
10 10
11<!-- COPYING --> 11<!-- COPYING -->
12 12
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">
21<!ENTITY panel.auth.done.label "Authorization complete"> 24<!ENTITY panel.auth.done.label "Authorization complete">
22<!ENTITY panel.auth.flickr.label "Flickr"> 25<!ENTITY panel.auth.flickr.label "Flickr">
23<!ENTITY panel.auth.flickr.tip "Open Flickr in new tab"> 26<!ENTITY panel.auth.flickr.tip "Open Flickr in new tab">
24<!ENTITY panel.auth.unauth.label "Sign off"> 27<!ENTITY panel.auth.unauth.label "Sign off">
25 28
26<!ENTITY panel.tabs.search "Search" > 29<!ENTITY panel.tabs.search "Search" >
27<!ENTITY panel.tabs.sets "Sets" > 30<!ENTITY panel.tabs.sets "Sets" >
28<!ENTITY panel.tabs.tags "Tags" > 31<!ENTITY panel.tabs.tags "Tags" >
29<!ENTITY panel.tabs.upload "Upload" > 32<!ENTITY panel.tabs.upload "Upload" >
30 33
31<!ENTITY panel.search.cmd_search.label "Search" > 34<!ENTITY panel.search.cmd_search.label "Search" >
32<!ENTITY panel.search.search_for.label "Search for:" > 35<!ENTITY panel.search.search_for.label "Search for:" >