summaryrefslogtreecommitdiff
path: root/gecko/chrome
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2010-11-12 19:22:50 +0000
committerNick White <git@njw.me.uk>2010-11-12 19:22:50 +0000
commitf40adf6b33195e6614e20ac68f05dbf39bc69b12 (patch)
treefaa8a9ef974b133650bf7e61ee4b33249bb7d0fc /gecko/chrome
parent5e2255f4f678ceb455c26174c765f92879238634 (diff)
Add button to status bar on gecko extension
Diffstat (limited to 'gecko/chrome')
-rw-r--r--gecko/chrome/content/icon.pngbin0 -> 388 bytes
-rw-r--r--gecko/chrome/content/readable.xul3
2 files changed, 3 insertions, 0 deletions
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>