-rw-r--r-- | content/browser.xul | 11 | ||||
-rw-r--r-- | content/help.xml | 4 | ||||
-rw-r--r-- | content/icons/16x16/toolbar-button.png | bin | 0 -> 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 @@ -11,4 +11,5 @@ <broadcaster id="viewFireflixSidebar" autoCheck="false" label="&browser.sidebar.label;" + tooltiptext="&browser.sidebar.tooltip;" type="checkbox" group="sidebar" sidebarurl="chrome://fireflix/content/fireflix-panel.xul" @@ -16,4 +17,14 @@ oncommand="toggleSidebar('viewFireflixSidebar')" /> </broadcasterset> + + <toolbarpalette id="BrowserToolbarPalette"> + <toolbarbutton id="fireflix-button" + oncommand="toggleSidebar('viewFireflixSidebar')" + image="chrome://fireflix/content/icons/16x16/toolbar-button.png" > + <observes element="viewFireflixSidebar" attribute="label"/> + <observes element="viewFireflixSidebar" attribute="tooltiptext"/> + </toolbarbutton> + </toolbarpalette> + </overlay> diff --git a/content/help.xml b/content/help.xml index 51e4ce5..ab4f4e2 100644 --- a/content/help.xml +++ b/content/help.xml @@ -42,4 +42,8 @@ You don't have to, though.</p> + <h1>Beyond that</h1> + + <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> + <h1>Feedback</h1> diff --git a/content/icons/16x16/toolbar-button.png b/content/icons/16x16/toolbar-button.png Binary files differnew file mode 100644 index 0000000..8d95411 --- a/dev/null +++ b/content/icons/16x16/toolbar-button.png |