summaryrefslogtreecommitdiffabout
path: root/content
Unidiff
Diffstat (limited to 'content') (more/less context) (ignore whitespace changes)
-rw-r--r--content/browser.xul11
-rw-r--r--content/help.xml4
-rw-r--r--content/icons/16x16/toolbar-button.pngbin0 -> 351 bytes
3 files changed, 15 insertions, 0 deletions
diff --git a/content/browser.xul b/content/browser.xul
index aaff443..0c699d9 100644
--- a/content/browser.xul
+++ b/content/browser.xul
@@ -10,10 +10,21 @@
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 type="checkbox" group="sidebar" 14 type="checkbox" group="sidebar"
14 sidebarurl="chrome://fireflix/content/fireflix-panel.xul" 15 sidebarurl="chrome://fireflix/content/fireflix-panel.xul"
15 sidebartitle="&browser.sidebar.title;" 16 sidebartitle="&browser.sidebar.title;"
16 oncommand="toggleSidebar('viewFireflixSidebar')" /> 17 oncommand="toggleSidebar('viewFireflixSidebar')" />
17 </broadcasterset> 18 </broadcasterset>
19
20 <toolbarpalette id="BrowserToolbarPalette">
21 <toolbarbutton id="fireflix-button"
22 oncommand="toggleSidebar('viewFireflixSidebar')"
23 image="chrome://fireflix/content/icons/16x16/toolbar-button.png" >
24 <observes element="viewFireflixSidebar" attribute="label"/>
25 <observes element="viewFireflixSidebar" attribute="tooltiptext"/>
26 </toolbarbutton>
27 </toolbarpalette>
28
18</overlay> 29</overlay>
19 30
diff --git a/content/help.xml b/content/help.xml
index 51e4ce5..ab4f4e2 100644
--- a/content/help.xml
+++ b/content/help.xml
@@ -41,6 +41,10 @@
41 uploaded, you will be prompted to create a photoset for newly uploaded photos. 41 uploaded, you will be prompted to create a photoset for newly uploaded photos.
42 You don't have to, though.</p> 42 You don't have to, though.</p>
43 43
44 <h1>Beyond that</h1>
45
46 <p>You can also add the <img src="chrome://fireflix/content/icons/16x16/toolbar-button.png" alt="Fireflix" title="Fireflix"/> button to your toolbar. Just go to View/Toolbars/Customize and drag it to wherever you want it to be.</p>
47
44 <h1>Feedback</h1> 48 <h1>Feedback</h1>
45 49
46 <p>As the extension is at the very early stage of development, feel free to 50 <p>As the extension is at the very early stage of development, feel free to
diff --git a/content/icons/16x16/toolbar-button.png b/content/icons/16x16/toolbar-button.png
new file mode 100644
index 0000000..8d95411
--- a/dev/null
+++ b/content/icons/16x16/toolbar-button.png
Binary files differ