-rw-r--r-- | content/fireflix-panel.xul | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/content/fireflix-panel.xul b/content/fireflix-panel.xul index 398dd78..bf6df73 100644 --- a/content/fireflix-panel.xul +++ b/content/fireflix-panel.xul | |||
@@ -39,24 +39,30 @@ | |||
39 | <menuitem command="cmd_auth_done" hidden="true" id="menu_auth_done"/> | 39 | <menuitem command="cmd_auth_done" hidden="true" id="menu_auth_done"/> |
40 | <menuitem command="cmd_auth_unauth" /> | 40 | <menuitem command="cmd_auth_unauth" /> |
41 | <menuseparator/> | 41 | <menuseparator/> |
42 | <menuitem command="cmd_auth_open_flickr"/> | 42 | <menuitem command="cmd_auth_open_flickr"/> |
43 | </popup> | 43 | </popup> |
44 | </popupset> | 44 | </popupset> |
45 | 45 | ||
46 | <commandset id="cmdset_search"> | 46 | <commandset id="cmdset_search"> |
47 | <command id="cmd_search" label="&panel.search.cmd_search.label;" | 47 | <command id="cmd_search" label="&panel.search.cmd_search.label;" |
48 | oncommand="fireflix.foundphotos.search_photos()"/> | 48 | oncommand="fireflix.foundphotos.search_photos()"/> |
49 | <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;" |
50 | oncommand="fireflix.foundphotos.on_cmd_open(event)" /> | 50 | oncommand="fireflix.foundphotos.on_cmd_open(event)" /> |
51 | <command id="cmd_search_prev_page" | ||
52 | label="&panel.search.cmd_search_prev_page.label;" | ||
53 | oncommand="fireflix.foundphotos.on_cmd_prev(event)" disabled="true"/> | ||
54 | <command id="cmd_search_next_page" | ||
55 | label="&panel.search.cmd_search_next_page.label;" | ||
56 | oncommand="fireflix.foundphotos.on_cmd_next(event)" disabled="true"/> | ||
51 | </commandset> | 57 | </commandset> |
52 | 58 | ||
53 | <commandset id="cmdset_sets"> | 59 | <commandset id="cmdset_sets"> |
54 | <command id="cmd_refresh_sets" label="&panel.sets.cmd_refresh_sets;" | 60 | <command id="cmd_refresh_sets" label="&panel.sets.cmd_refresh_sets;" |
55 | oncommand="fireflix.on_refresh_sets()" /> | 61 | oncommand="fireflix.on_refresh_sets()" /> |
56 | <command id="cmd_set_props" label="&panel.sets.cmd_properties;" | 62 | <command id="cmd_set_props" label="&panel.sets.cmd_properties;" |
57 | oncommand="fireflix.on_set_props()" disabled="true" /> | 63 | oncommand="fireflix.on_set_props()" disabled="true" /> |
58 | </commandset> | 64 | </commandset> |
59 | 65 | ||
60 | <popupset> | 66 | <popupset> |
61 | <popup id="sets_menu"> | 67 | <popup id="sets_menu"> |
62 | <menuitem command="cmd_set_props"/> | 68 | <menuitem command="cmd_set_props"/> |
@@ -121,24 +127,31 @@ | |||
121 | accesskey="s"/> | 127 | accesskey="s"/> |
122 | <textbox id="search_for" flex="1"/> | 128 | <textbox id="search_for" flex="1"/> |
123 | </hbox> | 129 | </hbox> |
124 | <hbox> | 130 | <hbox> |
125 | <checkbox id="search_tags" label="&panel.search.mode.tagsonly.label;" | 131 | <checkbox id="search_tags" label="&panel.search.mode.tagsonly.label;" |
126 | tooltiptext="&panel.search.mode.tagsonly.tip;" checked="false" | 132 | tooltiptext="&panel.search.mode.tagsonly.tip;" checked="false" |
127 | accesskey="t" /> | 133 | accesskey="t" /> |
128 | <checkbox id="search_mine" label="&panel.search.mode.mine.label;" checked="true" accesskey="m"/> | 134 | <checkbox id="search_mine" label="&panel.search.mode.mine.label;" checked="true" accesskey="m"/> |
129 | <spacer flex="1"/> | 135 | <spacer flex="1"/> |
130 | <button command="cmd_search"/> | 136 | <button command="cmd_search"/> |
131 | </hbox> | 137 | </hbox> |
132 | </groupbox> | 138 | </groupbox> |
139 | <hbox> | ||
140 | <button command="cmd_search_prev_page"/> | ||
141 | <spacer flex="1"/> | ||
142 | <label id="search_page" hidden="true"/> | ||
143 | <spacer flex="1"/> | ||
144 | <button command="cmd_search_next_page"/> | ||
145 | </hbox> | ||
133 | <tree id="searchresults" rows="2" flex="1" | 146 | <tree id="searchresults" rows="2" flex="1" |
134 | onselect="fireflix.foundphotos.on_select()" | 147 | onselect="fireflix.foundphotos.on_select()" |
135 | ondblclick="fireflix.foundphotos.on_cmd_open(event)" | 148 | ondblclick="fireflix.foundphotos.on_cmd_open(event)" |
136 | onkeypress="if(event.keyCode==event.DOM_VK_RETURN) | 149 | onkeypress="if(event.keyCode==event.DOM_VK_RETURN) |
137 | fireflix.foundphotos.on_cmd_open(event)"> | 150 | fireflix.foundphotos.on_cmd_open(event)"> |
138 | <treecols> | 151 | <treecols> |
139 | <treecol id="sr_title" label="&panel.search.col.title.label;" flex="2" crop="end" align="start" /> | 152 | <treecol id="sr_title" label="&panel.search.col.title.label;" flex="2" crop="end" align="start" /> |
140 | </treecols> | 153 | </treecols> |
141 | <treechildren/> | 154 | <treechildren/> |
142 | </tree> | 155 | </tree> |
143 | <groupbox id="searchresult_props" orient="horizontal" hidden="true"> | 156 | <groupbox id="searchresult_props" orient="horizontal" hidden="true"> |
144 | <vbox width="100" pack="center"> | 157 | <vbox width="100" pack="center"> |