summaryrefslogtreecommitdiffabout
path: root/content/fireflix-panel.xul
Unidiff
Diffstat (limited to 'content/fireflix-panel.xul') (more/less context) (show whitespace changes)
-rw-r--r--content/fireflix-panel.xul1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/fireflix-panel.xul b/content/fireflix-panel.xul
index 569beb0..2a15a51 100644
--- a/content/fireflix-panel.xul
+++ b/content/fireflix-panel.xul
@@ -1,64 +1,65 @@
1<?xml version="1.0"?> 1<?xml version="1.0"?>
2<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 2<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
3<?xml-stylesheet href="fireflix.css" type="text/css"?> 3<?xml-stylesheet href="fireflix.css" type="text/css"?>
4<!DOCTYPE page SYSTEM "chrome://fireflix/locale/fireflix.dtd"> 4<!DOCTYPE page SYSTEM "chrome://fireflix/locale/fireflix.dtd">
5<page 5<page
6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
7 id="fireflixwindow" title="Fireflix" 7 id="fireflixwindow" title="Fireflix"
8 onload="fireflix.init()" 8 onload="fireflix.init()"
9 orient="vertical" 9 orient="vertical"
10 ondragover="nsDragAndDrop.dragOver(event,fireflix.uploadObserver)" 10 ondragover="nsDragAndDrop.dragOver(event,fireflix.uploadObserver)"
11 ondragdrop="nsDragAndDrop.drop(event,fireflix.uploadObserver)" 11 ondragdrop="nsDragAndDrop.drop(event,fireflix.uploadObserver)"
12 > 12 >
13 13
14 <script src="chrome://global/content/nsDragAndDrop.js"/> 14 <script src="chrome://global/content/nsDragAndDrop.js"/>
15 <script src="chrome://global/content/nsTransferable.js"/> 15 <script src="chrome://global/content/nsTransferable.js"/>
16 <script type="application/x-javascript" src="md5.js" /> 16 <script type="application/x-javascript" src="md5.js" />
17 <script type="application/x-javascript" src="util.js" />
17 <script type="application/x-javascript" src="flickr.js" /> 18 <script type="application/x-javascript" src="flickr.js" />
18 <script type="application/x-javascript" src="fireflix.js" /> 19 <script type="application/x-javascript" src="fireflix.js" />
19 20
20 <stringbundleset> 21 <stringbundleset>
21 <stringbundle id="loc_strings" src="chrome://fireflix/locale/fireflix.properties" /> 22 <stringbundle id="loc_strings" src="chrome://fireflix/locale/fireflix.properties" />
22 </stringbundleset> 23 </stringbundleset>
23 24
24 <commandset> 25 <commandset>
25 <command id="cmd_auth_auth" label="&panel.auth.auth.label;" 26 <command id="cmd_auth_auth" label="&panel.auth.auth.label;"
26 oncommand="fireflix.on_cmd_auth()"/> 27 oncommand="fireflix.on_cmd_auth()"/>
27 <command id="cmd_auth_done" label="&panel.auth.done.label;" 28 <command id="cmd_auth_done" label="&panel.auth.done.label;"
28 oncommand="fireflix.on_cmd_auth_done()" disabled="true"/> 29 oncommand="fireflix.on_cmd_auth_done()" disabled="true"/>
29 <command id="cmd_auth_open_flickr" label="&panel.auth.flickr.label;" 30 <command id="cmd_auth_open_flickr" label="&panel.auth.flickr.label;"
30 oncommand="fireflix.openTab('htp://www.flickr.com/')" /> 31 oncommand="fireflix.openTab('htp://www.flickr.com/')" />
31 <command id="cmd_auth_unauth" label="&panel.auth.unauth.label;" 32 <command id="cmd_auth_unauth" label="&panel.auth.unauth.label;"
32 oncommand="fireflix.on_cmd_auth_unauth()" /> 33 oncommand="fireflix.on_cmd_auth_unauth()" />
33 </commandset> 34 </commandset>
34 35
35 <popupset> 36 <popupset>
36 <popup id="auth_menu"> 37 <popup id="auth_menu">
37 <menuitem command="cmd_auth_auth"/> 38 <menuitem command="cmd_auth_auth"/>
38 <menuitem command="cmd_auth_done" hidden="true" id="menu_auth_done"/> 39 <menuitem command="cmd_auth_done" hidden="true" id="menu_auth_done"/>
39 <menuitem command="cmd_auth_unauth" /> 40 <menuitem command="cmd_auth_unauth" />
40 <menuseparator/> 41 <menuseparator/>
41 <menuitem command="cmd_auth_open_flickr"/> 42 <menuitem command="cmd_auth_open_flickr"/>
42 </popup> 43 </popup>
43 </popupset> 44 </popupset>
44 45
45 <commandset id="cmdset_search"> 46 <commandset id="cmdset_search">
46 <command id="cmd_search" label="&panel.search.cmd_search.label;" 47 <command id="cmd_search" label="&panel.search.cmd_search.label;"
47 oncommand="fireflix.foundphotos.search_photos()"/> 48 oncommand="fireflix.foundphotos.search_photos()"/>
48 <command id="cmd_search_open" label="&panel.search.cmd_search_open.label;" 49 <command id="cmd_search_open" label="&panel.search.cmd_search_open.label;"
49 oncommand="fireflix.foundphotos.on_cmd_open(event)" /> 50 oncommand="fireflix.foundphotos.on_cmd_open(event)" />
50 </commandset> 51 </commandset>
51 52
52 <commandset id="cmdset_sets"> 53 <commandset id="cmdset_sets">
53 <command id="cmd_refresh_sets" label="&panel.sets.cmd_refresh_sets;" 54 <command id="cmd_refresh_sets" label="&panel.sets.cmd_refresh_sets;"
54 oncommand="fireflix.on_refresh_sets()" /> 55 oncommand="fireflix.on_refresh_sets()" />
55 <command id="cmd_set_props" label="&panel.sets.cmd_properties;" 56 <command id="cmd_set_props" label="&panel.sets.cmd_properties;"
56 oncommand="fireflix.on_set_props()" disabled="true" /> 57 oncommand="fireflix.on_set_props()" disabled="true" />
57 </commandset> 58 </commandset>
58 59
59 <popupset> 60 <popupset>
60 <popup id="sets_menu"> 61 <popup id="sets_menu">
61 <menuitem command="cmd_set_props"/> 62 <menuitem command="cmd_set_props"/>
62 <menuitem command="cmd_refresh_sets"/> 63 <menuitem command="cmd_refresh_sets"/>
63 <menuseparator/> 64 <menuseparator/>
64 <menu label="&panel.sets.generate_html;" id="sets_html_menu"/> 65 <menu label="&panel.sets.generate_html;" id="sets_html_menu"/>