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) (unidiff)
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) (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
-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
@@ -1,19 +1,30 @@
1<?xml version="1.0"?> 1<?xml version="1.0"?>
2<!DOCTYPE overlay SYSTEM "chrome://fireflix/locale/fireflix.dtd"> 2<!DOCTYPE overlay SYSTEM "chrome://fireflix/locale/fireflix.dtd">
3<overlay id="fireflixOverlay" 3<overlay id="fireflixOverlay"
4 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" > 4 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
5 5
6 <menupopup id="viewSidebarMenu"> 6 <menupopup id="viewSidebarMenu">
7 <menuitem observes="viewFireflixSidebar" /> 7 <menuitem observes="viewFireflixSidebar" />
8 </menupopup> 8 </menupopup>
9 9
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
@@ -28,26 +28,30 @@
28 28
29 <p>This is where you can browse your sets. You can edit some sets properties 29 <p>This is where you can browse your sets. You can edit some sets properties
30 here and, most importantly, you can generate HTML of linked thumbnails for 30 here and, most importantly, you can generate HTML of linked thumbnails for
31 sets contents. Use your right mouse button on the photoset.</p> 31 sets contents. Use your right mouse button on the photoset.</p>
32 32
33 <h1>In The 'Uploads' tab</h1> 33 <h1>In The 'Uploads' tab</h1>
34 34
35 <p>To upload pictures you don't even have to select this tab. Drag'n'drop into 35 <p>To upload pictures you don't even have to select this tab. Drag'n'drop into
36 fireflix sidebar should do. There is nothing wrong with going into the tab and 36 fireflix sidebar should do. There is nothing wrong with going into the tab and
37 using 'Add' button either.</p> 37 using 'Add' button either.</p>
38 38
39 <p>You can add photos to the list, edit their titles and/or tags and once 39 <p>You can add photos to the list, edit their titles and/or tags and once
40 you're done with it, trigger upload procedure. Once your images have been 40 you're done with it, trigger upload procedure. Once your images have been
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
47 provide feedback at <a href="http://kin.klever.net/fireflix/feedback" title="click here to proceed to feedback form">http://kin.klever.net/fireflix/feedback/</a>.</p> 51 provide feedback at <a href="http://kin.klever.net/fireflix/feedback" title="click here to proceed to feedback form">http://kin.klever.net/fireflix/feedback/</a>.</p>
48 52
49 <div class="copyright"> 53 <div class="copyright">
50 <a href="http://www.klever.net/">© Klever Group</a> 54 <a href="http://www.klever.net/">© Klever Group</a>
51 </div> 55 </div>
52 </body> 56 </body>
53</html> 57</html>
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
@@ -64,21 +64,22 @@
64<!ENTITY panel.upload_props.filename.label "File:"> 64<!ENTITY panel.upload_props.filename.label "File:">
65<!ENTITY panel.upload_props.title.label "Title:"> 65<!ENTITY panel.upload_props.title.label "Title:">
66<!ENTITY panel.upload_props.tags.label "Tags:"> 66<!ENTITY panel.upload_props.tags.label "Tags:">
67 67
68<!ENTITY panel.uploads.upload.label "Upload"> 68<!ENTITY panel.uploads.upload.label "Upload">
69<!ENTITY panel.uploads.clear.label "Clear"> 69<!ENTITY panel.uploads.clear.label "Clear">
70<!ENTITY panel.uploads.remove.label "Remove"> 70<!ENTITY panel.uploads.remove.label "Remove">
71<!ENTITY panel.uploads.add.label "Add"> 71<!ENTITY panel.uploads.add.label "Add">
72<!ENTITY panel.uploads.generate_html "Generate HTML"> 72<!ENTITY panel.uploads.generate_html "Generate HTML">
73 73
74<!ENTITY generated.title "Fireflix: Generated content"> 74<!ENTITY generated.title "Fireflix: Generated content">
75<!ENTITY generated.copy "copy"> 75<!ENTITY generated.copy "copy">
76<!ENTITY generated.nolf "remove linebreaks"> 76<!ENTITY generated.nolf "remove linebreaks">
77 77
78<!ENTITY browser.sidebar.label "Fireflix"> 78<!ENTITY browser.sidebar.label "Fireflix">
79<!ENTITY browser.sidebar.title "Fireflix"> 79<!ENTITY browser.sidebar.title "Fireflix">
80<!ENTITY browser.sidebar.tooltip "Fireflix">
80 81
81<!ENTITY photosetprops.title "Photoset properties"> 82<!ENTITY photosetprops.title "Photoset properties">
82<!ENTITY photosetprops.set_title.label "Photoset title:"> 83<!ENTITY photosetprops.set_title.label "Photoset title:">
83<!ENTITY photosetprops.set_desc.label "Photoset description:"> 84<!ENTITY photosetprops.set_desc.label "Photoset description:">
84 85