summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2006-11-16 20:56:04 (UTC)
committer Michael Krelin <hacker@klever.net>2006-11-16 20:56:04 (UTC)
commit864848b2ce8ffe3ea8ccbe268385697e21051745 (patch) (side-by-side diff)
tree5db3ec1c28be6855fcdf1f4fecd9cd2f0352df47
parentc63cb1418088ff241cbeb207318c1743b08e1da1 (diff)
downloadfireflix-864848b2ce8ffe3ea8ccbe268385697e21051745.zip
fireflix-864848b2ce8ffe3ea8ccbe268385697e21051745.tar.gz
fireflix-864848b2ce8ffe3ea8ccbe268385697e21051745.tar.bz2
added toolbar button
git-svn-id: http://svn.klever.net/kin/fireflix/trunk@222 fe716a7a-6dde-0310-88d9-d003556173a8
Diffstat (more/less context) (show 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
-rw-r--r--locale/en-US/fireflix.dtd1
4 files changed, 16 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
@@ -12,2 +12,3 @@
autoCheck="false" label="&browser.sidebar.label;"
+ tooltiptext="&browser.sidebar.tooltip;"
type="checkbox" group="sidebar"
@@ -17,2 +18,12 @@
</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
@@ -43,2 +43,6 @@
+ <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
new file mode 100644
index 0000000..8d95411
--- a/dev/null
+++ b/content/icons/16x16/toolbar-button.png
Binary files differ
diff --git a/locale/en-US/fireflix.dtd b/locale/en-US/fireflix.dtd
index 46409ed..09112dc 100644
--- a/locale/en-US/fireflix.dtd
+++ b/locale/en-US/fireflix.dtd
@@ -79,2 +79,3 @@
<!ENTITY browser.sidebar.title "Fireflix">
+<!ENTITY browser.sidebar.tooltip "Fireflix">