-rw-r--r-- | content/fireflix-panel.xul | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/fireflix-panel.xul b/content/fireflix-panel.xul index 70a58fe..569beb0 100644 --- a/content/fireflix-panel.xul +++ b/content/fireflix-panel.xul | |||
@@ -48,97 +48,97 @@ | |||
48 | <command id="cmd_search_open" label="&panel.search.cmd_search_open.label;" | 48 | <command id="cmd_search_open" label="&panel.search.cmd_search_open.label;" |
49 | oncommand="fireflix.foundphotos.on_cmd_open(event)" /> | 49 | oncommand="fireflix.foundphotos.on_cmd_open(event)" /> |
50 | </commandset> | 50 | </commandset> |
51 | 51 | ||
52 | <commandset id="cmdset_sets"> | 52 | <commandset id="cmdset_sets"> |
53 | <command id="cmd_refresh_sets" label="&panel.sets.cmd_refresh_sets;" | 53 | <command id="cmd_refresh_sets" label="&panel.sets.cmd_refresh_sets;" |
54 | oncommand="fireflix.on_refresh_sets()" /> | 54 | oncommand="fireflix.on_refresh_sets()" /> |
55 | <command id="cmd_set_props" label="&panel.sets.cmd_properties;" | 55 | <command id="cmd_set_props" label="&panel.sets.cmd_properties;" |
56 | oncommand="fireflix.on_set_props()" disabled="true" /> | 56 | oncommand="fireflix.on_set_props()" disabled="true" /> |
57 | </commandset> | 57 | </commandset> |
58 | 58 | ||
59 | <popupset> | 59 | <popupset> |
60 | <popup id="sets_menu"> | 60 | <popup id="sets_menu"> |
61 | <menuitem command="cmd_set_props"/> | 61 | <menuitem command="cmd_set_props"/> |
62 | <menuitem command="cmd_refresh_sets"/> | 62 | <menuitem command="cmd_refresh_sets"/> |
63 | <menuseparator/> | 63 | <menuseparator/> |
64 | <menu label="&panel.sets.generate_html;" id="sets_html_menu"/> | 64 | <menu label="&panel.sets.generate_html;" id="sets_html_menu"/> |
65 | </popup> | 65 | </popup> |
66 | </popupset> | 66 | </popupset> |
67 | 67 | ||
68 | <commandset id="cmdset_uploads"> | 68 | <commandset id="cmdset_uploads"> |
69 | <command id="cmd_uploads_clear" label="&panel.uploads.clear.label;" | 69 | <command id="cmd_uploads_clear" label="&panel.uploads.clear.label;" |
70 | oncommand="fireflix.uploads.on_clear()" /> | 70 | oncommand="fireflix.uploads.on_clear()" /> |
71 | <command id="cmd_uploads_upload" label="&panel.uploads.upload.label;" | 71 | <command id="cmd_uploads_upload" label="&panel.uploads.upload.label;" |
72 | oncommand="fireflix.uploads.on_upload()" /> | 72 | oncommand="fireflix.uploads.on_upload()" /> |
73 | <command id="cmd_uploads_remove" label="&panel.uploads.remove.label;" | 73 | <command id="cmd_uploads_remove" label="&panel.uploads.remove.label;" |
74 | oncommand="fireflix.uploads.on_remove()" /> | 74 | oncommand="fireflix.uploads.on_remove()" /> |
75 | <command id="cmd_uploads_add" label="&panel.uploads.add.label;" | 75 | <command id="cmd_uploads_add" label="&panel.uploads.add.label;" |
76 | oncommand="fireflix.uploads.on_add()" /> | 76 | oncommand="fireflix.uploads.on_add()" /> |
77 | </commandset> | 77 | </commandset> |
78 | 78 | ||
79 | <popupset> | 79 | <popupset> |
80 | <popup id="uploads_menu"> | 80 | <popup id="uploads_menu"> |
81 | <menuitem command="cmd_uploads_add"/> | 81 | <menuitem command="cmd_uploads_add"/> |
82 | <menuitem command="cmd_uploads_clear"/> | 82 | <menuitem command="cmd_uploads_clear"/> |
83 | <menuitem command="cmd_uploads_remove"/> | 83 | <menuitem command="cmd_uploads_remove"/> |
84 | <menuseparator/> | 84 | <menuseparator/> |
85 | <menuitem command="cmd_uploads_upload"/> | 85 | <menuitem command="cmd_uploads_upload"/> |
86 | <menuseparator/> | 86 | <menuseparator/> |
87 | <menu label="&panel.uploads.generate_html;" id="uploads_html_menu"/> | 87 | <menu label="&panel.uploads.generate_html;" id="uploads_html_menu"/> |
88 | </popup> | 88 | </popup> |
89 | </popupset> | 89 | </popupset> |
90 | 90 | ||
91 | <vbox class="wholething" flex="1"> | 91 | <vbox class="wholething" flex="1"> |
92 | 92 | ||
93 | <groupbox context="auth_menu"> | 93 | <groupbox context="auth_menu"> |
94 | <caption label="&panel.auth_info;"/> | 94 | <caption label="&panel.auth_info;"/> |
95 | <hbox> | 95 | <hbox> |
96 | <label id="auth_info" value="&panel.no_auth_info;" flex="1" disabled="true"/> | 96 | <label id="auth_info" value="&panel.no_auth_info;" flex="1" disabled="true" crop="end"/> |
97 | <button id="b_auth" command="cmd_auth_auth"/> | 97 | <button id="b_auth" command="cmd_auth_auth"/> |
98 | <button id="b_auth_done" command="cmd_auth_done" hidden="true"/> | 98 | <button id="b_auth_done" command="cmd_auth_done" hidden="true"/> |
99 | <button command="cmd_auth_open_flickr" | 99 | <button command="cmd_auth_open_flickr" |
100 | tooltiptext="&panel.auth.flickr.tip;"/> | 100 | tooltiptext="&panel.auth.flickr.tip;"/> |
101 | </hbox> | 101 | </hbox> |
102 | </groupbox> | 102 | </groupbox> |
103 | 103 | ||
104 | <tabbox flex="1" id="fireflix_tabs"> | 104 | <tabbox flex="1" id="fireflix_tabs"> |
105 | 105 | ||
106 | <tabs> | 106 | <tabs> |
107 | <tab label="&panel.tabs.search;"/> | 107 | <tab label="&panel.tabs.search;"/> |
108 | <tab label="&panel.tabs.sets;"/> | 108 | <tab label="&panel.tabs.sets;"/> |
109 | <tab label="&panel.tabs.tags;" hidden="true"/> <!-- TODO: --> | 109 | <tab label="&panel.tabs.tags;" hidden="true"/> <!-- TODO: --> |
110 | <tab id="tab_upload" label="&panel.tabs.upload;"/> | 110 | <tab id="tab_upload" label="&panel.tabs.upload;"/> |
111 | </tabs> | 111 | </tabs> |
112 | 112 | ||
113 | <tabpanels flex="1"> | 113 | <tabpanels flex="1"> |
114 | 114 | ||
115 | <tabpanel id="tabpanel_search" flex="1"> | 115 | <tabpanel id="tabpanel_search" flex="1"> |
116 | <vbox flex="1"> | 116 | <vbox flex="1"> |
117 | <groupbox class="search_params" orient="vertical" onkeypress="if(event.keyCode==event.DOM_VK_RETURN) fireflix.foundphotos.search_photos()"> | 117 | <groupbox class="search_params" orient="vertical" onkeypress="if(event.keyCode==event.DOM_VK_RETURN) fireflix.foundphotos.search_photos()"> |
118 | <hbox> | 118 | <hbox> |
119 | <label control="search_for" value="&panel.search.search_for.label;" | 119 | <label control="search_for" value="&panel.search.search_for.label;" |
120 | accesskey="s"/> | 120 | accesskey="s"/> |
121 | <textbox id="search_for" flex="1"/> | 121 | <textbox id="search_for" flex="1"/> |
122 | </hbox> | 122 | </hbox> |
123 | <hbox> | 123 | <hbox> |
124 | <checkbox id="search_tags" label="&panel.search.mode.tagsonly.label;" | 124 | <checkbox id="search_tags" label="&panel.search.mode.tagsonly.label;" |
125 | tooltiptext="&panel.search.mode.tagsonly.tip;" checked="false" | 125 | tooltiptext="&panel.search.mode.tagsonly.tip;" checked="false" |
126 | accesskey="t" /> | 126 | accesskey="t" /> |
127 | <checkbox id="search_mine" label="&panel.search.mode.mine.label;" checked="true" accesskey="m"/> | 127 | <checkbox id="search_mine" label="&panel.search.mode.mine.label;" checked="true" accesskey="m"/> |
128 | <spacer flex="1"/> | 128 | <spacer flex="1"/> |
129 | <button command="cmd_search"/> | 129 | <button command="cmd_search"/> |
130 | </hbox> | 130 | </hbox> |
131 | </groupbox> | 131 | </groupbox> |
132 | <tree id="searchresults" rows="2" flex="1" | 132 | <tree id="searchresults" rows="2" flex="1" |
133 | onselect="fireflix.foundphotos.on_select()" | 133 | onselect="fireflix.foundphotos.on_select()" |
134 | ondblclick="fireflix.foundphotos.on_cmd_open(event)" | 134 | ondblclick="fireflix.foundphotos.on_cmd_open(event)" |
135 | onkeypress="if(event.keyCode==event.DOM_VK_RETURN) | 135 | onkeypress="if(event.keyCode==event.DOM_VK_RETURN) |
136 | fireflix.foundphotos.on_cmd_open(event)"> | 136 | fireflix.foundphotos.on_cmd_open(event)"> |
137 | <treecols> | 137 | <treecols> |
138 | <treecol id="sr_title" label="&panel.search.col.title.label;" flex="2" crop="end" align="start" /> | 138 | <treecol id="sr_title" label="&panel.search.col.title.label;" flex="2" crop="end" align="start" /> |
139 | </treecols> | 139 | </treecols> |
140 | <treechildren/> | 140 | <treechildren/> |
141 | </tree> | 141 | </tree> |
142 | <groupbox id="searchresult_props" orient="horizontal" hidden="true"> | 142 | <groupbox id="searchresult_props" orient="horizontal" hidden="true"> |
143 | <vbox width="100" pack="center"> | 143 | <vbox width="100" pack="center"> |
144 | <hbox pack="center"> | 144 | <hbox pack="center"> |