summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--content/fireflix-panel.xul29
-rw-r--r--content/fireflix.css4
-rw-r--r--locale/en-US/fireflix.dtd4
3 files changed, 22 insertions, 15 deletions
diff --git a/content/fireflix-panel.xul b/content/fireflix-panel.xul
index b961edb..2356c82 100644
--- a/content/fireflix-panel.xul
+++ b/content/fireflix-panel.xul
@@ -99,18 +99,20 @@
99 99
100 <vbox class="wholething" flex="1"> 100 <vbox class="wholething" flex="1">
101 101
102 <groupbox context="auth_menu"> 102 <groupbox context="auth_menu">
103 <caption label="&panel.auth_info;"/> 103 <caption label="&panel.auth_info;"/>
104 <hbox> 104 <hbox>
105 <label id="auth_info" value="&panel.no_auth_info;" flex="1" disabled="true" crop="end"/> 105 <vbox pack="center" flex="1">
106 <button id="b_auth" command="cmd_auth_auth"/> 106 <label id="auth_info" value="&panel.no_auth_info;" disabled="true" crop="end"/>
107 <button id="b_auth_done" command="cmd_auth_done" hidden="true"/> 107 </vbox>
108 <button command="cmd_auth_open_flickr" 108 <button class="lean" id="b_auth" command="cmd_auth_auth"/>
109 <button class="lean" id="b_auth_done" command="cmd_auth_done" hidden="true"/>
110 <button class="lean" command="cmd_auth_open_flickr"
109 tooltiptext="&panel.auth.flickr.tip;"/> 111 tooltiptext="&panel.auth.flickr.tip;"/>
110 <button command="cmd_help"/> 112 <button class="lean" command="cmd_help"/>
111 </hbox> 113 </hbox>
112 </groupbox> 114 </groupbox>
113 115
114 <tabbox flex="1" id="fireflix_tabs"> 116 <tabbox flex="1" id="fireflix_tabs">
115 117
116 <tabs> 118 <tabs>
@@ -123,31 +125,32 @@
123 <tabpanels flex="1"> 125 <tabpanels flex="1">
124 126
125 <tabpanel id="tabpanel_search" flex="1"> 127 <tabpanel id="tabpanel_search" flex="1">
126 <vbox flex="1"> 128 <vbox flex="1">
127 <groupbox class="search_params" orient="vertical" onkeypress="if(event.keyCode==event.DOM_VK_RETURN) fireflix.foundphotos.search_photos()"> 129 <groupbox class="search_params" orient="vertical" onkeypress="if(event.keyCode==event.DOM_VK_RETURN) fireflix.foundphotos.search_photos()">
128 <hbox> 130 <hbox>
129 <label control="search_for" value="&panel.search.search_for.label;" 131 <vbox pack="center">
130 accesskey="s"/> 132 <label control="search_for" value="&panel.search.search_for.label;" accesskey="s"/>
133 </vbox>
131 <textbox id="search_for" flex="1"/> 134 <textbox id="search_for" flex="1"/>
132 </hbox> 135 </hbox>
133 <hbox> 136 <hbox>
134 <checkbox id="search_tags" label="&panel.search.mode.tagsonly.label;" 137 <checkbox id="search_tags" label="&panel.search.mode.tagsonly.label;"
135 tooltiptext="&panel.search.mode.tagsonly.tip;" checked="false" 138 tooltiptext="&panel.search.mode.tagsonly.tip;" checked="false"
136 accesskey="t" /> 139 accesskey="t" />
137 <checkbox id="search_mine" label="&panel.search.mode.mine.label;" checked="true" accesskey="m"/> 140 <checkbox id="search_mine" label="&panel.search.mode.mine.label;" checked="true" accesskey="m"/>
138 <spacer flex="1"/> 141 <spacer flex="1"/>
139 <button command="cmd_search"/> 142 <button class="lean" command="cmd_search"/>
140 </hbox> 143 </hbox>
141 </groupbox> 144 </groupbox>
142 <hbox> 145 <hbox>
143 <button command="cmd_search_prev_page"/> 146 <button class="lean" command="cmd_search_prev_page"/>
144 <spacer flex="1"/> 147 <spacer flex="1"/>
145 <label id="search_page" hidden="true"/> 148 <label id="search_page" hidden="true"/>
146 <spacer flex="1"/> 149 <spacer flex="1"/>
147 <button command="cmd_search_next_page"/> 150 <button class="lean" command="cmd_search_next_page"/>
148 </hbox> 151 </hbox>
149 <tree id="searchresults" rows="2" flex="1" 152 <tree id="searchresults" rows="2" flex="1"
150 onselect="fireflix.foundphotos.on_select()" 153 onselect="fireflix.foundphotos.on_select()"
151 ondblclick="fireflix.foundphotos.on_cmd_open(event)" 154 ondblclick="fireflix.foundphotos.on_cmd_open(event)"
152 onkeypress="if(event.keyCode==event.DOM_VK_RETURN) 155 onkeypress="if(event.keyCode==event.DOM_VK_RETURN)
153 fireflix.foundphotos.on_cmd_open(event)"> 156 fireflix.foundphotos.on_cmd_open(event)">
@@ -267,17 +270,17 @@
267 </row> 270 </row>
268 <!-- TODO: description, public, friend, family --> 271 <!-- TODO: description, public, friend, family -->
269 </rows> 272 </rows>
270 </grid> 273 </grid>
271 </groupbox> 274 </groupbox>
272 <hbox> 275 <hbox>
273 <button command="cmd_uploads_add" /> 276 <button class="lean" command="cmd_uploads_add" />
274 <spacer flex="1"/> 277 <spacer flex="1"/>
275 <button command="cmd_uploads_remove" /> 278 <button class="lean" command="cmd_uploads_remove" />
276 <spacer flex="1"/> 279 <spacer flex="1"/>
277 <button command="cmd_uploads_clear" /> 280 <button class="lean" command="cmd_uploads_clear" />
278 </hbox> 281 </hbox>
279 <hbox pack="center"> 282 <hbox pack="center">
280 <button command="cmd_uploads_upload" flex="1"/> 283 <button command="cmd_uploads_upload" flex="1"/>
281 </hbox> 284 </hbox>
282 </vbox> 285 </vbox>
283 </tabpanel> 286 </tabpanel>
diff --git a/content/fireflix.css b/content/fireflix.css
index 47455f6..4fba5d3 100644
--- a/content/fireflix.css
+++ b/content/fireflix.css
@@ -117,6 +117,10 @@ html div.copyright {
117 font-size: 60%; 117 font-size: 60%;
118 text-align: right; 118 text-align: right;
119} 119}
120html div.copyright a { 120html div.copyright a {
121 text-decoration: none; 121 text-decoration: none;
122} 122}
123
124button.lean {
125 min-width: 1ex;
126}
diff --git a/locale/en-US/fireflix.dtd b/locale/en-US/fireflix.dtd
index 88ec6fb..0e158c3 100644
--- a/locale/en-US/fireflix.dtd
+++ b/locale/en-US/fireflix.dtd
@@ -32,14 +32,14 @@
32<!ENTITY panel.search.search_for.label "Search for:" > 32<!ENTITY panel.search.search_for.label "Search for:" >
33<!ENTITY panel.search.mode.tagsonly.label "tags"> 33<!ENTITY panel.search.mode.tagsonly.label "tags">
34<!ENTITY panel.search.mode.tagsonly.tip "Search tags only"> 34<!ENTITY panel.search.mode.tagsonly.tip "Search tags only">
35<!ENTITY panel.search.mode.mine.label "mine"> 35<!ENTITY panel.search.mode.mine.label "mine">
36<!ENTITY panel.search.col.title.label "Title"> 36<!ENTITY panel.search.col.title.label "Title">
37<!ENTITY panel.search.cmd_search_open.label "Open"> 37<!ENTITY panel.search.cmd_search_open.label "Open">
38<!ENTITY panel.search.cmd_search_prev_page.label "«"> 38<!ENTITY panel.search.cmd_search_prev_page.label " « ">
39<!ENTITY panel.search.cmd_search_next_page.label "»"> 39<!ENTITY panel.search.cmd_search_next_page.label " » ">
40 40
41<!ENTITY panel.sets.name.label "Set"> 41<!ENTITY panel.sets.name.label "Set">
42<!ENTITY panel.sets.name.tip "Photoset name"> 42<!ENTITY panel.sets.name.tip "Photoset name">
43<!ENTITY panel.sets.photos.label "Photos"> 43<!ENTITY panel.sets.photos.label "Photos">
44<!ENTITY panel.sets.photos.tip "Number of photos in set"> 44<!ENTITY panel.sets.photos.tip "Number of photos in set">
45 45