author | Michael Krelin <hacker@klever.net> | 2006-12-18 18:56:09 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2006-12-18 18:56:09 (UTC) |
commit | 71a2c8a80f3c7a99e893efb32c6bbf5080e16ff1 (patch) (unidiff) | |
tree | 1f9051339dee22f5c64206568638675ca9f7636a /content/fireflix-panel.xul | |
parent | 1838bc18394967371d7a1c00516db5e290f80ea3 (diff) | |
download | fireflix-71a2c8a80f3c7a99e893efb32c6bbf5080e16ff1.zip fireflix-71a2c8a80f3c7a99e893efb32c6bbf5080e16ff1.tar.gz fireflix-71a2c8a80f3c7a99e893efb32c6bbf5080e16ff1.tar.bz2 |
doubleclicking files in upload
git-svn-id: http://svn.klever.net/kin/fireflix/trunk@241 fe716a7a-6dde-0310-88d9-d003556173a8
-rw-r--r-- | content/fireflix-panel.xul | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/fireflix-panel.xul b/content/fireflix-panel.xul index 405804c..8aec0e4 100644 --- a/content/fireflix-panel.xul +++ b/content/fireflix-panel.xul | |||
@@ -199,97 +199,98 @@ | |||
199 | <treecol id="sl_name" label="&panel.sets.name.label;" flex="4" crop="end" align="start" tooltiptext="&panel.sets.name.tip;"/> | 199 | <treecol id="sl_name" label="&panel.sets.name.label;" flex="4" crop="end" align="start" tooltiptext="&panel.sets.name.tip;"/> |
200 | <splitter class="tree-splitter" /> | 200 | <splitter class="tree-splitter" /> |
201 | <treecol id="sl_photos" label="&panel.sets.photos.label;" flex="1" align="end" tooltiptext="&panel.sets.photos.tip;" /> | 201 | <treecol id="sl_photos" label="&panel.sets.photos.label;" flex="1" align="end" tooltiptext="&panel.sets.photos.tip;" /> |
202 | </treecols> | 202 | </treecols> |
203 | <treechildren/> | 203 | <treechildren/> |
204 | </tree> | 204 | </tree> |
205 | <hbox> | 205 | <hbox> |
206 | <button command="cmd_refresh_sets" /> | 206 | <button command="cmd_refresh_sets" /> |
207 | <button command="cmd_set_props" /> | 207 | <button command="cmd_set_props" /> |
208 | </hbox> | 208 | </hbox> |
209 | <tree id="setphotos" rows="2" onselect="fireflix.photoset.on_select()" | 209 | <tree id="setphotos" rows="2" onselect="fireflix.photoset.on_select()" |
210 | flex="1" ondblclick="fireflix.photoset.on_cmd_open(event)" | 210 | flex="1" ondblclick="fireflix.photoset.on_cmd_open(event)" |
211 | onkeypress="if(event.keyCode==event.DOM_VK_RETURN) fireflix.photoset.on_cmd_open(event)" context="setphotos_menu"> | 211 | onkeypress="if(event.keyCode==event.DOM_VK_RETURN) fireflix.photoset.on_cmd_open(event)" context="setphotos_menu"> |
212 | <treecols> | 212 | <treecols> |
213 | <treecol id="sp_title" label="&panel.setphotos.title.label;" flex="1" crop="end" align="start" tooltiptext="&panel.setphotos.title.tip;" /> | 213 | <treecol id="sp_title" label="&panel.setphotos.title.label;" flex="1" crop="end" align="start" tooltiptext="&panel.setphotos.title.tip;" /> |
214 | <splitter class="tree-splitter" /> | 214 | <splitter class="tree-splitter" /> |
215 | <treecol id="sp_taken" label="&panel.setphotos.taken.label;" crop="end" align="start" tooltiptext="&panel.setphotos.taken.tip;" hidden="true" /> | 215 | <treecol id="sp_taken" label="&panel.setphotos.taken.label;" crop="end" align="start" tooltiptext="&panel.setphotos.taken.tip;" hidden="true" /> |
216 | <treecol id="sp_upload" label="&panel.setphotos.upload.label;" crop="end" align="start" tooltiptext="&panel.setphotos.upload.tip;" hidden="true" /> | 216 | <treecol id="sp_upload" label="&panel.setphotos.upload.label;" crop="end" align="start" tooltiptext="&panel.setphotos.upload.tip;" hidden="true" /> |
217 | </treecols> | 217 | </treecols> |
218 | <treechildren/> | 218 | <treechildren/> |
219 | </tree> | 219 | </tree> |
220 | <groupbox id="set_photo_props" orient="horizontal" hidden="true"> | 220 | <groupbox id="set_photo_props" orient="horizontal" hidden="true"> |
221 | <vbox width="100" pack="center"> | 221 | <vbox width="100" pack="center"> |
222 | <hbox pack="center"> | 222 | <hbox pack="center"> |
223 | <image id="set_photo" | 223 | <image id="set_photo" |
224 | ondblclick="fireflix.photoset.on_cmd_open(event)" /> | 224 | ondblclick="fireflix.photoset.on_cmd_open(event)" /> |
225 | </hbox> | 225 | </hbox> |
226 | </vbox> | 226 | </vbox> |
227 | <spacer flex="1"/> | 227 | <spacer flex="1"/> |
228 | </groupbox> | 228 | </groupbox> |
229 | </vbox> | 229 | </vbox> |
230 | </tabpanel> | 230 | </tabpanel> |
231 | 231 | ||
232 | <tabpanel id="tabpanel_tags"> | 232 | <tabpanel id="tabpanel_tags"> |
233 | <listbox id="tagslist" rows="8" flex="1"> | 233 | <listbox id="tagslist" rows="8" flex="1"> |
234 | <listhead> | 234 | <listhead> |
235 | <listheader label="&panel.tagslist.tag.label;"/> | 235 | <listheader label="&panel.tagslist.tag.label;"/> |
236 | </listhead> | 236 | </listhead> |
237 | <listcols> | 237 | <listcols> |
238 | <listcol flex="1"/> | 238 | <listcol flex="1"/> |
239 | </listcols> | 239 | </listcols> |
240 | </listbox> | 240 | </listbox> |
241 | </tabpanel> | 241 | </tabpanel> |
242 | 242 | ||
243 | <tabpanel id="tabpanel_upload"> | 243 | <tabpanel id="tabpanel_upload"> |
244 | <vbox flex="1"> | 244 | <vbox flex="1"> |
245 | <tree id="uploadlist" rows="2" flex="1" | 245 | <tree id="uploadlist" rows="2" flex="1" |
246 | onselect="fireflix.uploads.selectionChanged()" | 246 | onselect="fireflix.uploads.selectionChanged()" |
247 | context="uploads_menu"> | 247 | context="uploads_menu" ondblclick="fireflix.uploads.on_cmd_open(event)" |
248 | onkeypress="if(event.keyCode==event.DOM_VK_RETURN) fireflix.uploads.on_cmd_open(event)" > | ||
248 | <treecols> | 249 | <treecols> |
249 | <treecol id="up_file" label="&panel.uploadlist.file.label;" flex="4" crop="start" align="start"/> | 250 | <treecol id="up_file" label="&panel.uploadlist.file.label;" flex="4" crop="start" align="start"/> |
250 | <splitter class="tree-splitter" /> | 251 | <splitter class="tree-splitter" /> |
251 | <treecol id="up_title" label="&panel.uploadlist.title.label;" flex="5" crop="end" align="start" /> | 252 | <treecol id="up_title" label="&panel.uploadlist.title.label;" flex="5" crop="end" align="start" /> |
252 | <splitter class="tree-splitter" /> | 253 | <splitter class="tree-splitter" /> |
253 | <treecol id="up_status" label="&panel.uploadlist.status.label;" flex="1" crop="end" align="start" /> | 254 | <treecol id="up_status" label="&panel.uploadlist.status.label;" flex="1" crop="end" align="start" /> |
254 | </treecols> | 255 | </treecols> |
255 | <treechildren/> | 256 | <treechildren/> |
256 | </tree> | 257 | </tree> |
257 | <progressmeter id="upload_progress" mode="undetermined" hidden="true" /> | 258 | <progressmeter id="upload_progress" mode="undetermined" hidden="true" /> |
258 | <groupbox id="upload_file_props" orient="vertical" hidden="true"> | 259 | <groupbox id="upload_file_props" orient="vertical" hidden="true"> |
259 | <hbox> | 260 | <hbox> |
260 | <image id="upload_file_preview" width="100" height="100" /> | 261 | <image id="upload_file_preview" width="100" height="100" /> |
261 | <vbox flex="1"> | 262 | <vbox flex="1"> |
262 | <grid> | 263 | <grid> |
263 | <columns> | 264 | <columns> |
264 | <column/> | 265 | <column/> |
265 | <column flex="1"/> | 266 | <column flex="1"/> |
266 | </columns> | 267 | </columns> |
267 | <rows> | 268 | <rows> |
268 | <row> | 269 | <row> |
269 | <label control="upload_filename" | 270 | <label control="upload_filename" |
270 | value="&panel.upload_props.filename.label;" /> | 271 | value="&panel.upload_props.filename.label;" /> |
271 | <textbox id="upload_filename" | 272 | <textbox id="upload_filename" |
272 | oninput="fireflix.uploads.propsToSel('filename')"/> | 273 | oninput="fireflix.uploads.propsToSel('filename')"/> |
273 | </row> | 274 | </row> |
274 | <row> | 275 | <row> |
275 | <label control="upload_title" value="&panel.upload_props.title.label;" /> | 276 | <label control="upload_title" value="&panel.upload_props.title.label;" /> |
276 | <textbox id="upload_title" | 277 | <textbox id="upload_title" |
277 | oninput="fireflix.uploads.propsToSel('title')"/> | 278 | oninput="fireflix.uploads.propsToSel('title')"/> |
278 | </row> | 279 | </row> |
279 | <row> | 280 | <row> |
280 | <label control="upload_tags" value="&panel.upload_props.tags.label;" /> | 281 | <label control="upload_tags" value="&panel.upload_props.tags.label;" /> |
281 | <textbox id="upload_tags" | 282 | <textbox id="upload_tags" |
282 | oninput="fireflix.uploads.propsToSel('tags')"/> | 283 | oninput="fireflix.uploads.propsToSel('tags')"/> |
283 | </row> | 284 | </row> |
284 | <!-- TODO: description, public, friend, family --> | 285 | <!-- TODO: description, public, friend, family --> |
285 | </rows> | 286 | </rows> |
286 | </grid> | 287 | </grid> |
287 | <hbox> | 288 | <hbox> |
288 | <checkbox id="upload_is_public" label="&panel.upload_props.is_public;"/> | 289 | <checkbox id="upload_is_public" label="&panel.upload_props.is_public;"/> |
289 | <checkbox id="upload_is_friends" label="&panel.upload_props.is_friend;"/> | 290 | <checkbox id="upload_is_friends" label="&panel.upload_props.is_friend;"/> |
290 | <checkbox id="upload_is_family" label="&panel.upload_props.is_family;"/> | 291 | <checkbox id="upload_is_family" label="&panel.upload_props.is_family;"/> |
291 | </hbox> | 292 | </hbox> |
292 | </vbox> | 293 | </vbox> |
293 | </hbox> | 294 | </hbox> |
294 | <description id="upload_failure" hidden="true"/> | 295 | <description id="upload_failure" hidden="true"/> |
295 | </groupbox> | 296 | </groupbox> |