summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--gecko/chrome/content/icon.pngbin0 -> 388 bytes
-rw-r--r--gecko/chrome/content/readable.xul3
-rw-r--r--gecko/install.rdf2
4 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index aee2b52..9295873 100644
--- a/Makefile
+++ b/Makefile
@@ -23,11 +23,11 @@ dist:
@ln -sf $(NAME)-$(VERSION).tar.bz2.sig latest.tar.bz2.sig
@echo $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION).tar.bz2.sig
-xpi: readable.js gecko/install.rdf gecko/chrome.manifest gecko/chrome/content/readable.xul
+xpi: readable.js gecko/install.rdf gecko/chrome.manifest gecko/chrome/content/readable.xul gecko/chrome/content/icon.png
@rm -rf $(NAME)-$(VERSION).xpi gecko-build
@mkdir -p gecko-build/chrome/content
@cp COPYING gecko/chrome.manifest gecko-build/
- @cp gecko/chrome/content/readable.xul gecko-build/chrome/content/
+ @cp gecko/chrome/content/readable.xul gecko/chrome/content/icon.png gecko-build/chrome/content/
@cp readable.js gecko-build/chrome/content/readable.js
@sed "s/VERSION/$(VERSION)/g" < gecko/install.rdf > gecko-build/install.rdf
@cd gecko-build; zip -r ../$(NAME)-$(VERSION).xpi . 1>/dev/null
diff --git a/gecko/chrome/content/icon.png b/gecko/chrome/content/icon.png
new file mode 100644
index 0000000..5470e39
--- /dev/null
+++ b/gecko/chrome/content/icon.png
Binary files differ
diff --git a/gecko/chrome/content/readable.xul b/gecko/chrome/content/readable.xul
index 5ea1597..75ab8fd 100644
--- a/gecko/chrome/content/readable.xul
+++ b/gecko/chrome/content/readable.xul
@@ -4,4 +4,7 @@
<keyset>
<key id="readable" modifiers="accel alt" key="r" oncommand="readable()" />
</keyset>
+ <statusbar id="status-bar">
+ <image id="readable-icon" src="chrome://readable/content/icon.png" onclick="readable()" />
+ </statusbar>
</overlay>
diff --git a/gecko/install.rdf b/gecko/install.rdf
index ec45142..b00b1a7 100644
--- a/gecko/install.rdf
+++ b/gecko/install.rdf
@@ -19,7 +19,7 @@
</em:targetApplication>
<em:name>Readable</em:name>
- <em:description>Makes webpages more readable. Press Ctrl-Alt-r to toggle readable.</em:description>
+ <em:description>Makes webpages more readable. Press Ctrl-Alt-r or click the 'r' icon in the status bar to toggle readable.</em:description>
<em:creator>Nick White</em:creator>
<em:homepageURL>http://njw.me.uk/software/readable/</em:homepageURL>
<doap:license rdf:resource="http://www.gnu.org/licenses/agpl.html"/>