Merge lp:~edwin-grubbs/launchpad/bug-521934-missing-sprites into lp:launchpad
- bug-521934-missing-sprites
- Merge into devel
Proposed by
Edwin Grubbs
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Tim Penhey | ||||
Approved revision: | not available | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~edwin-grubbs/launchpad/bug-521934-missing-sprites | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
622 lines (+120/-101) 3 files modified
lib/canonical/launchpad/icing/icon-sprites.positioning (+104/-100) lib/canonical/launchpad/icing/style-3-0.css.in (+6/-0) lib/lp/services/spriteutils.py (+10/-1) |
||||
To merge this branch: | bzr merge lp:~edwin-grubbs/launchpad/bug-521934-missing-sprites | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | Approve | ||
Review via email: mp+19454@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
Edwin Grubbs (edwin-grubbs) wrote : | # |
Revision history for this message
Tim Penhey (thumper) wrote : | # |
Looks mostly mechanical. Nice addition of extra robustness checks.
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'lib/canonical/launchpad/icing/icon-sprites' | |||
2 | 0 | Binary files lib/canonical/launchpad/icing/icon-sprites 2010-02-08 19:44:03 +0000 and lib/canonical/launchpad/icing/icon-sprites 2010-02-17 00:55:27 +0000 differ | 0 | Binary files lib/canonical/launchpad/icing/icon-sprites 2010-02-08 19:44:03 +0000 and lib/canonical/launchpad/icing/icon-sprites 2010-02-17 00:55:27 +0000 differ |
3 | === modified file 'lib/canonical/launchpad/icing/icon-sprites.positioning' | |||
4 | --- lib/canonical/launchpad/icing/icon-sprites.positioning 2010-02-08 21:10:39 +0000 | |||
5 | +++ lib/canonical/launchpad/icing/icon-sprites.positioning 2010-02-17 00:55:27 +0000 | |||
6 | @@ -3,19 +3,19 @@ | |||
7 | 3 | { | 3 | { |
8 | 4 | "../images/arrowLeft.png": [ | 4 | "../images/arrowLeft.png": [ |
9 | 5 | 0, | 5 | 0, |
11 | 6 | -14590 | 6 | -14754 |
12 | 7 | ], | 7 | ], |
13 | 8 | "../images/cancel.png": [ | 8 | "../images/cancel.png": [ |
14 | 9 | 0, | 9 | 0, |
16 | 10 | -7376 | 10 | -7540 |
17 | 11 | ], | 11 | ], |
18 | 12 | "../images/milestone.png": [ | 12 | "../images/milestone.png": [ |
19 | 13 | 0, | 13 | 0, |
21 | 14 | -3276 | 14 | -3440 |
22 | 15 | ], | 15 | ], |
23 | 16 | "../images/zoom-out.png": [ | 16 | "../images/zoom-out.png": [ |
24 | 17 | 0, | 17 | 0, |
26 | 18 | -11802 | 18 | -11966 |
27 | 19 | ], | 19 | ], |
28 | 20 | "../images/team.png": [ | 20 | "../images/team.png": [ |
29 | 21 | 0, | 21 | 0, |
30 | @@ -23,15 +23,15 @@ | |||
31 | 23 | ], | 23 | ], |
32 | 24 | "../images/bug-undecided.png": [ | 24 | "../images/bug-undecided.png": [ |
33 | 25 | 0, | 25 | 0, |
35 | 26 | -7872 | 26 | -8036 |
36 | 27 | ], | 27 | ], |
37 | 28 | "../images/blueprint-low.png": [ | 28 | "../images/blueprint-low.png": [ |
38 | 29 | 0, | 29 | 0, |
40 | 30 | -5736 | 30 | -5900 |
41 | 31 | ], | 31 | ], |
42 | 32 | "../images/meeting.png": [ | 32 | "../images/meeting.png": [ |
43 | 33 | 0, | 33 | 0, |
45 | 34 | -10326 | 34 | -10490 |
46 | 35 | ], | 35 | ], |
47 | 36 | "../images/no.png": [ | 36 | "../images/no.png": [ |
48 | 37 | 0, | 37 | 0, |
49 | @@ -39,15 +39,15 @@ | |||
50 | 39 | ], | 39 | ], |
51 | 40 | "../images/distribution-badge.png": [ | 40 | "../images/distribution-badge.png": [ |
52 | 41 | 0, | 41 | 0, |
54 | 42 | -9020 | 42 | -9184 |
55 | 43 | ], | 43 | ], |
56 | 44 | "../images/arrowTop.png": [ | 44 | "../images/arrowTop.png": [ |
57 | 45 | 0, | 45 | 0, |
59 | 46 | -14262 | 46 | -14426 |
60 | 47 | ], | 47 | ], |
61 | 48 | "../images/zoom-in.png": [ | 48 | "../images/zoom-in.png": [ |
62 | 49 | 0, | 49 | 0, |
64 | 50 | -11638 | 50 | -11802 |
65 | 51 | ], | 51 | ], |
66 | 52 | "../images/team-badge.png": [ | 52 | "../images/team-badge.png": [ |
67 | 53 | 0, | 53 | 0, |
68 | @@ -55,99 +55,99 @@ | |||
69 | 55 | ], | 55 | ], |
70 | 56 | "../images/blue-bar.png": [ | 56 | "../images/blue-bar.png": [ |
71 | 57 | 0, | 57 | 0, |
73 | 58 | -14754 | 58 | -14918 |
74 | 59 | ], | 59 | ], |
75 | 60 | "../images/arrowStart.png": [ | 60 | "../images/arrowStart.png": [ |
76 | 61 | 0, | 61 | 0, |
78 | 62 | -13934 | 62 | -14098 |
79 | 63 | ], | 63 | ], |
80 | 64 | "../images/ppa-icon-inactive.png": [ | 64 | "../images/ppa-icon-inactive.png": [ |
81 | 65 | 0, | 65 | 0, |
83 | 66 | -12294 | 66 | -12458 |
84 | 67 | ], | 67 | ], |
85 | 68 | "../images/build-needed.png": [ | 68 | "../images/build-needed.png": [ |
86 | 69 | 0, | 69 | 0, |
88 | 70 | -13114 | 70 | -13278 |
89 | 71 | ], | 71 | ], |
90 | 72 | "../images/purple-bar.png": [ | 72 | "../images/purple-bar.png": [ |
91 | 73 | 0, | 73 | 0, |
93 | 74 | -15082 | 74 | -15246 |
94 | 75 | ], | 75 | ], |
95 | 76 | "../images/bullet.png": [ | 76 | "../images/bullet.png": [ |
96 | 77 | 0, | 77 | 0, |
98 | 78 | -11474 | 78 | -11638 |
99 | 79 | ], | 79 | ], |
100 | 80 | "../images/info-large.png": [ | 80 | "../images/info-large.png": [ |
101 | 81 | 0, | 81 | 0, |
103 | 82 | -17012 | 82 | -17176 |
104 | 83 | ], | 83 | ], |
105 | 84 | "../images/trash-logo.png": [ | 84 | "../images/trash-logo.png": [ |
106 | 85 | 0, | 85 | 0, |
108 | 86 | -20030 | 86 | -20194 |
109 | 87 | ], | 87 | ], |
110 | 88 | "../images/warning.png": [ | 88 | "../images/warning.png": [ |
111 | 89 | 0, | 89 | 0, |
113 | 90 | -9998 | 90 | -10162 |
114 | 91 | ], | 91 | ], |
115 | 92 | "../images/mail.png": [ | 92 | "../images/mail.png": [ |
116 | 93 | 0, | 93 | 0, |
118 | 94 | -3768 | 94 | -3932 |
119 | 95 | ], | 95 | ], |
120 | 96 | "../images/build-failure.png": [ | 96 | "../images/build-failure.png": [ |
121 | 97 | 0, | 97 | 0, |
123 | 98 | -13278 | 98 | -13442 |
124 | 99 | ], | 99 | ], |
125 | 100 | "../images/branch-large.png": [ | 100 | "../images/branch-large.png": [ |
126 | 101 | 0, | 101 | 0, |
128 | 102 | -15738 | 102 | -15902 |
129 | 103 | ], | 103 | ], |
130 | 104 | "../images/download-large.png": [ | 104 | "../images/download-large.png": [ |
131 | 105 | 0, | 105 | 0, |
133 | 106 | -16830 | 106 | -16994 |
134 | 107 | ], | 107 | ], |
135 | 108 | "../images/private-large.png": [ | 108 | "../images/private-large.png": [ |
136 | 109 | 0, | 109 | 0, |
138 | 110 | -17922 | 110 | -18086 |
139 | 111 | ], | 111 | ], |
140 | 112 | "../images/launchpad-large.png": [ | 112 | "../images/launchpad-large.png": [ |
141 | 113 | 0, | 113 | 0, |
143 | 114 | -17194 | 114 | -17358 |
144 | 115 | ], | 115 | ], |
145 | 116 | "../images/translation-file.png": [ | 116 | "../images/translation-file.png": [ |
146 | 117 | 0, | 117 | 0, |
148 | 118 | -10654 | 118 | -10818 |
149 | 119 | ], | 119 | ], |
150 | 120 | "../images/read-only.png": [ | 120 | "../images/read-only.png": [ |
151 | 121 | 0, | 121 | 0, |
153 | 122 | -9834 | 122 | -9998 |
154 | 123 | ], | 123 | ], |
155 | 124 | "../images/project-logo.png": [ | 124 | "../images/project-logo.png": [ |
156 | 125 | 0, | 125 | 0, |
158 | 126 | -18532 | 126 | -18696 |
159 | 127 | ], | 127 | ], |
160 | 128 | "../images/bug-medium.png": [ | 128 | "../images/bug-medium.png": [ |
161 | 129 | 0, | 129 | 0, |
163 | 130 | -4588 | 130 | -4752 |
164 | 131 | ], | 131 | ], |
165 | 132 | "../images/architecture.png": [ | 132 | "../images/architecture.png": [ |
166 | 133 | 0, | 133 | 0, |
168 | 134 | -11966 | 134 | -12130 |
169 | 135 | ], | 135 | ], |
170 | 136 | "../images/trash-icon.png": [ | 136 | "../images/trash-icon.png": [ |
171 | 137 | 0, | 137 | 0, |
173 | 138 | -10982 | 138 | -11146 |
174 | 139 | ], | 139 | ], |
175 | 140 | "../images/person-inactive.png": [ | 140 | "../images/person-inactive.png": [ |
176 | 141 | 0, | 141 | 0, |
178 | 142 | -6558 | 142 | -6722 |
179 | 143 | ], | 143 | ], |
180 | 144 | "../images/arrowBottom.png": [ | 144 | "../images/arrowBottom.png": [ |
181 | 145 | 0, | 145 | 0, |
183 | 146 | -14426 | 146 | -14590 |
184 | 147 | ], | 147 | ], |
185 | 148 | "../images/project.png": [ | 148 | "../images/project.png": [ |
186 | 149 | 0, | 149 | 0, |
188 | 150 | -9344 | 150 | -9508 |
189 | 151 | ], | 151 | ], |
190 | 152 | "../images/crowd.png": [ | 152 | "../images/crowd.png": [ |
191 | 153 | 0, | 153 | 0, |
192 | @@ -159,43 +159,43 @@ | |||
193 | 159 | ], | 159 | ], |
194 | 160 | "../images/flame-icon.png": [ | 160 | "../images/flame-icon.png": [ |
195 | 161 | 0, | 161 | 0, |
197 | 162 | -7708 | 162 | -7872 |
198 | 163 | ], | 163 | ], |
199 | 164 | "../images/ubuntu-icon.png": [ | 164 | "../images/ubuntu-icon.png": [ |
200 | 165 | 0, | 165 | 0, |
202 | 166 | -6392 | 166 | -6556 |
203 | 167 | ], | 167 | ], |
204 | 168 | "../images/link.png": [ | 168 | "../images/link.png": [ |
205 | 169 | 0, | 169 | 0, |
207 | 170 | -3604 | 170 | -3768 |
208 | 171 | ], | 171 | ], |
209 | 172 | "../images/stop.png": [ | 172 | "../images/stop.png": [ |
210 | 173 | 0, | 173 | 0, |
212 | 174 | -11146 | 174 | -11310 |
213 | 175 | ], | 175 | ], |
214 | 176 | "../images/person-logo.png": [ | 176 | "../images/person-logo.png": [ |
215 | 177 | 0, | 177 | 0, |
217 | 178 | -18960 | 178 | -19124 |
218 | 179 | ], | 179 | ], |
219 | 180 | "../images/distribution-logo.png": [ | 180 | "../images/distribution-logo.png": [ |
220 | 181 | 0, | 181 | 0, |
222 | 182 | -18318 | 182 | -18482 |
223 | 183 | ], | 183 | ], |
224 | 184 | "../images/retry.png": [ | 184 | "../images/retry.png": [ |
225 | 185 | 0, | 185 | 0, |
227 | 186 | -8856 | 186 | -9020 |
228 | 187 | ], | 187 | ], |
229 | 188 | "../images/rss.png": [ | 188 | "../images/rss.png": [ |
230 | 189 | 0, | 189 | 0, |
232 | 190 | -6228 | 190 | -6392 |
233 | 191 | ], | 191 | ], |
234 | 192 | "../images/private.png": [ | 192 | "../images/private.png": [ |
235 | 193 | 0, | 193 | 0, |
237 | 194 | -10162 | 194 | -10326 |
238 | 195 | ], | 195 | ], |
239 | 196 | "../images/merge-proposal-icon.png": [ | 196 | "../images/merge-proposal-icon.png": [ |
240 | 197 | 0, | 197 | 0, |
242 | 198 | -12622 | 198 | -12786 |
243 | 199 | ], | 199 | ], |
244 | 200 | "../images/download.png": [ | 200 | "../images/download.png": [ |
245 | 201 | 0, | 201 | 0, |
246 | @@ -203,75 +203,75 @@ | |||
247 | 203 | ], | 203 | ], |
248 | 204 | "../images/arrowDown.png": [ | 204 | "../images/arrowDown.png": [ |
249 | 205 | 0, | 205 | 0, |
251 | 206 | -13770 | 206 | -13934 |
252 | 207 | ], | 207 | ], |
253 | 208 | "../images/package-binary.png": [ | 208 | "../images/package-binary.png": [ |
254 | 209 | 0, | 209 | 0, |
256 | 210 | -8692 | 210 | -8856 |
257 | 211 | ], | 211 | ], |
258 | 212 | "../images/maybe.png": [ | 212 | "../images/maybe.png": [ |
259 | 213 | 0, | 213 | 0, |
261 | 214 | -7048 | 214 | -7212 |
262 | 215 | ], | 215 | ], |
263 | 216 | "../images/bug-status-expand.png": [ | 216 | "../images/bug-status-expand.png": [ |
264 | 217 | 0, | 217 | 0, |
266 | 218 | -12458 | 218 | -12622 |
267 | 219 | ], | 219 | ], |
268 | 220 | "../images/crowd-large.png": [ | 220 | "../images/crowd-large.png": [ |
269 | 221 | 0, | 221 | 0, |
271 | 222 | -16102 | 222 | -16266 |
272 | 223 | ], | 223 | ], |
273 | 224 | "../images/blueprint.png": [ | 224 | "../images/blueprint.png": [ |
274 | 225 | 0, | 225 | 0, |
276 | 226 | -5080 | 226 | -5244 |
277 | 227 | ], | 227 | ], |
278 | 228 | "../images/project-badge.png": [ | 228 | "../images/project-badge.png": [ |
279 | 229 | 0, | 229 | 0, |
281 | 230 | -9182 | 230 | -9346 |
282 | 231 | ], | 231 | ], |
283 | 232 | "../images/bug-high.png": [ | 232 | "../images/bug-high.png": [ |
284 | 233 | 0, | 233 | 0, |
286 | 234 | -4424 | 234 | -4588 |
287 | 235 | ], | 235 | ], |
288 | 236 | "../images/blueprint-undefined.png": [ | 236 | "../images/blueprint-undefined.png": [ |
289 | 237 | 0, | 237 | 0, |
291 | 238 | -5900 | 238 | -6064 |
292 | 239 | ], | 239 | ], |
293 | 240 | "../images/blueprint-not.png": [ | 240 | "../images/blueprint-not.png": [ |
294 | 241 | 0, | 241 | 0, |
296 | 242 | -6064 | 242 | -6228 |
297 | 243 | ], | 243 | ], |
298 | 244 | "../images/mentoring.png": [ | 244 | "../images/mentoring.png": [ |
299 | 245 | 0, | 245 | 0, |
301 | 246 | -6884 | 246 | -7048 |
302 | 247 | ], | 247 | ], |
303 | 248 | "../images/flame-large.png": [ | 248 | "../images/flame-large.png": [ |
304 | 249 | 0, | 249 | 0, |
306 | 250 | -16648 | 250 | -16812 |
307 | 251 | ], | 251 | ], |
308 | 252 | "../images/bug-dupe-icon.png": [ | 252 | "../images/bug-dupe-icon.png": [ |
309 | 253 | 0, | 253 | 0, |
311 | 254 | -8364 | 254 | -8528 |
312 | 255 | ], | 255 | ], |
313 | 256 | "../images/bug-critical.png": [ | 256 | "../images/bug-critical.png": [ |
314 | 257 | 0, | 257 | 0, |
316 | 258 | -4260 | 258 | -4424 |
317 | 259 | ], | 259 | ], |
318 | 260 | "../images/build-success.png": [ | 260 | "../images/build-success.png": [ |
319 | 261 | 0, | 261 | 0, |
321 | 262 | -12950 | 262 | -13114 |
322 | 263 | ], | 263 | ], |
323 | 264 | "../images/haspatch-icon.png": [ | 264 | "../images/haspatch-icon.png": [ |
324 | 265 | 0, | 265 | 0, |
326 | 266 | -15574 | 266 | -15738 |
327 | 267 | ], | 267 | ], |
328 | 268 | "../images/person-inactive-badge.png": [ | 268 | "../images/person-inactive-badge.png": [ |
329 | 269 | 0, | 269 | 0, |
331 | 270 | -6722 | 270 | -6886 |
332 | 271 | ], | 271 | ], |
333 | 272 | "../images/ppa-icon.png": [ | 272 | "../images/ppa-icon.png": [ |
334 | 273 | 0, | 273 | 0, |
336 | 274 | -12130 | 274 | -12294 |
337 | 275 | ], | 275 | ], |
338 | 276 | "../images/yes.png": [ | 276 | "../images/yes.png": [ |
339 | 277 | 0, | 277 | 0, |
340 | @@ -279,7 +279,7 @@ | |||
341 | 279 | ], | 279 | ], |
342 | 280 | "../images/team-logo.png": [ | 280 | "../images/team-logo.png": [ |
343 | 281 | 0, | 281 | 0, |
345 | 282 | -19388 | 282 | -19552 |
346 | 283 | ], | 283 | ], |
347 | 284 | "../images/arrowRight.png": [ | 284 | "../images/arrowRight.png": [ |
348 | 285 | 0, | 285 | 0, |
349 | @@ -287,23 +287,23 @@ | |||
350 | 287 | ], | 287 | ], |
351 | 288 | "../images/blueprint-high.png": [ | 288 | "../images/blueprint-high.png": [ |
352 | 289 | 0, | 289 | 0, |
354 | 290 | -5408 | 290 | -5572 |
355 | 291 | ], | 291 | ], |
356 | 292 | "../images/product.png": [ | 292 | "../images/product.png": [ |
357 | 293 | 0, | 293 | 0, |
359 | 294 | -9670 | 294 | -9834 |
360 | 295 | ], | 295 | ], |
361 | 296 | "../images/bug-low.png": [ | 296 | "../images/bug-low.png": [ |
362 | 297 | 0, | 297 | 0, |
364 | 298 | -4752 | 298 | -4916 |
365 | 299 | ], | 299 | ], |
366 | 300 | "../images/package-source.png": [ | 300 | "../images/package-source.png": [ |
367 | 301 | 0, | 301 | 0, |
369 | 302 | -3112 | 302 | -3276 |
370 | 303 | ], | 303 | ], |
371 | 304 | "../images/language.png": [ | 304 | "../images/language.png": [ |
372 | 305 | 0, | 305 | 0, |
374 | 306 | -3440 | 306 | -3604 |
375 | 307 | ], | 307 | ], |
376 | 308 | "../images/person.png": [ | 308 | "../images/person.png": [ |
377 | 309 | 0, | 309 | 0, |
378 | @@ -311,19 +311,19 @@ | |||
379 | 311 | ], | 311 | ], |
380 | 312 | "../images/arrowUp.png": [ | 312 | "../images/arrowUp.png": [ |
381 | 313 | 0, | 313 | 0, |
383 | 314 | -13606 | 314 | -13770 |
384 | 315 | ], | 315 | ], |
385 | 316 | "../images/distribution.png": [ | 316 | "../images/distribution.png": [ |
386 | 317 | 0, | 317 | 0, |
388 | 318 | -2948 | 318 | -3112 |
389 | 319 | ], | 319 | ], |
390 | 320 | "../images/error-large.png": [ | 320 | "../images/error-large.png": [ |
391 | 321 | 0, | 321 | 0, |
393 | 322 | -16466 | 322 | -16630 |
394 | 323 | ], | 323 | ], |
395 | 324 | "../images/news.png": [ | 324 | "../images/news.png": [ |
396 | 325 | 0, | 325 | 0, |
398 | 326 | -15410 | 326 | -15574 |
399 | 327 | ], | 327 | ], |
400 | 328 | "../images/treeExpanded.png": [ | 328 | "../images/treeExpanded.png": [ |
401 | 329 | 0, | 329 | 0, |
402 | @@ -331,11 +331,11 @@ | |||
403 | 331 | ], | 331 | ], |
404 | 332 | "../images/build-depwait.png": [ | 332 | "../images/build-depwait.png": [ |
405 | 333 | 0, | 333 | 0, |
407 | 334 | -13442 | 334 | -13606 |
408 | 335 | ], | 335 | ], |
409 | 336 | "../images/blueprint-essential.png": [ | 336 | "../images/blueprint-essential.png": [ |
410 | 337 | 0, | 337 | 0, |
412 | 338 | -5244 | 338 | -5408 |
413 | 339 | ], | 339 | ], |
414 | 340 | "../images/question.png": [ | 340 | "../images/question.png": [ |
415 | 341 | 0, | 341 | 0, |
416 | @@ -343,47 +343,47 @@ | |||
417 | 343 | ], | 343 | ], |
418 | 344 | "../images/error.png": [ | 344 | "../images/error.png": [ |
419 | 345 | 0, | 345 | 0, |
421 | 346 | -7212 | 346 | -7376 |
422 | 347 | ], | 347 | ], |
423 | 348 | "../images/bug-unknown.png": [ | 348 | "../images/bug-unknown.png": [ |
424 | 349 | 0, | 349 | 0, |
426 | 350 | -8200 | 350 | -8364 |
427 | 351 | ], | 351 | ], |
428 | 352 | "../images/product-logo.png": [ | 352 | "../images/product-logo.png": [ |
429 | 353 | 0, | 353 | 0, |
431 | 354 | -18746 | 354 | -18910 |
432 | 355 | ], | 355 | ], |
433 | 356 | "../images/blueprint-medium.png": [ | 356 | "../images/blueprint-medium.png": [ |
434 | 357 | 0, | 357 | 0, |
436 | 358 | -5572 | 358 | -5736 |
437 | 359 | ], | 359 | ], |
438 | 360 | "../images/product-badge.png": [ | 360 | "../images/product-badge.png": [ |
439 | 361 | 0, | 361 | 0, |
441 | 362 | -9508 | 362 | -9672 |
442 | 363 | ], | 363 | ], |
443 | 364 | "../images/list.png": [ | 364 | "../images/list.png": [ |
444 | 365 | 0, | 365 | 0, |
446 | 366 | -11310 | 366 | -11474 |
447 | 367 | ], | 367 | ], |
448 | 368 | "../images/launchpad-logo.png": [ | 368 | "../images/launchpad-logo.png": [ |
449 | 369 | 0, | 369 | 0, |
451 | 370 | -18104 | 370 | -18268 |
452 | 371 | ], | 371 | ], |
453 | 372 | "../images/flame-logo.png": [ | 372 | "../images/flame-logo.png": [ |
454 | 373 | 0, | 373 | 0, |
456 | 374 | -19816 | 374 | -19980 |
457 | 375 | ], | 375 | ], |
458 | 376 | "../images/translation-template.png": [ | 376 | "../images/translation-template.png": [ |
459 | 377 | 0, | 377 | 0, |
461 | 378 | -10818 | 378 | -10982 |
462 | 379 | ], | 379 | ], |
463 | 380 | "../images/bugtracker-icon.png": [ | 380 | "../images/bugtracker-icon.png": [ |
464 | 381 | 0, | 381 | 0, |
466 | 382 | -8528 | 382 | -8692 |
467 | 383 | ], | 383 | ], |
468 | 384 | "../images/meeting-logo.png": [ | 384 | "../images/meeting-logo.png": [ |
469 | 385 | 0, | 385 | 0, |
471 | 386 | -19602 | 386 | -19766 |
472 | 387 | ], | 387 | ], |
473 | 388 | "../images/treeCollapsed.png": [ | 388 | "../images/treeCollapsed.png": [ |
474 | 389 | 0, | 389 | 0, |
475 | @@ -391,19 +391,19 @@ | |||
476 | 391 | ], | 391 | ], |
477 | 392 | "../images/green-bar.png": [ | 392 | "../images/green-bar.png": [ |
478 | 393 | 0, | 393 | 0, |
480 | 394 | -14918 | 394 | -15082 |
481 | 395 | ], | 395 | ], |
482 | 396 | "../images/build-superseded.png": [ | 396 | "../images/build-superseded.png": [ |
483 | 397 | 0, | 397 | 0, |
485 | 398 | -12786 | 398 | -12950 |
486 | 399 | ], | 399 | ], |
487 | 400 | "../images/trash-large.png": [ | 400 | "../images/trash-large.png": [ |
488 | 401 | 0, | 401 | 0, |
490 | 402 | -17740 | 402 | -17904 |
491 | 403 | ], | 403 | ], |
492 | 404 | "../images/red-bar.png": [ | 404 | "../images/red-bar.png": [ |
493 | 405 | 0, | 405 | 0, |
495 | 406 | -15246 | 406 | -15410 |
496 | 407 | ], | 407 | ], |
497 | 408 | "../images/add.png": [ | 408 | "../images/add.png": [ |
498 | 409 | 0, | 409 | 0, |
499 | @@ -415,7 +415,7 @@ | |||
500 | 415 | ], | 415 | ], |
501 | 416 | "../images/person-inactive-logo.png": [ | 416 | "../images/person-inactive-logo.png": [ |
502 | 417 | 0, | 417 | 0, |
504 | 418 | -19174 | 418 | -19338 |
505 | 419 | ], | 419 | ], |
506 | 420 | "../images/edit.png": [ | 420 | "../images/edit.png": [ |
507 | 421 | 0, | 421 | 0, |
508 | @@ -423,23 +423,27 @@ | |||
509 | 423 | ], | 423 | ], |
510 | 424 | "../images/bug-wishlist.png": [ | 424 | "../images/bug-wishlist.png": [ |
511 | 425 | 0, | 425 | 0, |
513 | 426 | -4916 | 426 | -5080 |
514 | 427 | ], | 427 | ], |
515 | 428 | "../images/warning-large.png": [ | 428 | "../images/warning-large.png": [ |
516 | 429 | 0, | 429 | 0, |
518 | 430 | -15920 | 430 | -16084 |
519 | 431 | ], | 431 | ], |
520 | 432 | "../images/arrowEnd.png": [ | 432 | "../images/arrowEnd.png": [ |
521 | 433 | 0, | 433 | 0, |
523 | 434 | -14098 | 434 | -14262 |
524 | 435 | ], | 435 | ], |
525 | 436 | "../images/cve.png": [ | 436 | "../images/cve.png": [ |
526 | 437 | 0, | 437 | 0, |
528 | 438 | -3932 | 438 | -4096 |
529 | 439 | ], | 439 | ], |
530 | 440 | "../images/merge-proposal-large.png": [ | 440 | "../images/merge-proposal-large.png": [ |
531 | 441 | 0, | 441 | 0, |
533 | 442 | -17558 | 442 | -17722 |
534 | 443 | ], | ||
535 | 444 | "../images/branch.png": [ | ||
536 | 445 | 0, | ||
537 | 446 | -2948 | ||
538 | 443 | ], | 447 | ], |
539 | 444 | "../images/person-badge.png": [ | 448 | "../images/person-badge.png": [ |
540 | 445 | 0, | 449 | 0, |
541 | @@ -447,23 +451,23 @@ | |||
542 | 447 | ], | 451 | ], |
543 | 448 | "../images/mentoring-large.png": [ | 452 | "../images/mentoring-large.png": [ |
544 | 449 | 0, | 453 | 0, |
546 | 450 | -17376 | 454 | -17540 |
547 | 451 | ], | 455 | ], |
548 | 452 | "../images/bug.png": [ | 456 | "../images/bug.png": [ |
549 | 453 | 0, | 457 | 0, |
551 | 454 | -4096 | 458 | -4260 |
552 | 455 | ], | 459 | ], |
553 | 456 | "../images/bug-remote.png": [ | 460 | "../images/bug-remote.png": [ |
554 | 457 | 0, | 461 | 0, |
556 | 458 | -8036 | 462 | -8200 |
557 | 459 | ], | 463 | ], |
558 | 460 | "../images/translation.png": [ | 464 | "../images/translation.png": [ |
559 | 461 | 0, | 465 | 0, |
561 | 462 | -10490 | 466 | -10654 |
562 | 463 | ], | 467 | ], |
563 | 464 | "../images/confirm.png": [ | 468 | "../images/confirm.png": [ |
564 | 465 | 0, | 469 | 0, |
566 | 466 | -7542 | 470 | -7706 |
567 | 467 | ], | 471 | ], |
568 | 468 | "../images/search.png": [ | 472 | "../images/search.png": [ |
569 | 469 | 0, | 473 | 0, |
570 | 470 | 474 | ||
571 | === modified file 'lib/canonical/launchpad/icing/style-3-0.css.in' | |||
572 | --- lib/canonical/launchpad/icing/style-3-0.css.in 2010-02-09 03:57:08 +0000 | |||
573 | +++ lib/canonical/launchpad/icing/style-3-0.css.in 2010-02-17 00:55:27 +0000 | |||
574 | @@ -805,6 +805,8 @@ | |||
575 | 805 | visibility: visible; | 805 | visibility: visible; |
576 | 806 | } | 806 | } |
577 | 807 | 807 | ||
578 | 808 | .cves {float: right;} | ||
579 | 809 | |||
580 | 808 | /* == Sprites == */ | 810 | /* == Sprites == */ |
581 | 809 | .sprite { | 811 | .sprite { |
582 | 810 | padding: 2px 0 5px 18px; | 812 | padding: 2px 0 5px 18px; |
583 | @@ -926,6 +928,10 @@ | |||
584 | 926 | background-image: url(/@@/treeExpanded.png); /* sprite-ref: icon-sprites */ | 928 | background-image: url(/@@/treeExpanded.png); /* sprite-ref: icon-sprites */ |
585 | 927 | background-repeat: no-repeat; | 929 | background-repeat: no-repeat; |
586 | 928 | } | 930 | } |
587 | 931 | .branch { | ||
588 | 932 | background-image: url(/@@/branch.png); /* sprite-ref: icon-sprites */ | ||
589 | 933 | background-repeat: no-repeat; | ||
590 | 934 | } | ||
591 | 929 | .distribution { | 935 | .distribution { |
592 | 930 | background-image: url(/@@/distribution.png); /* sprite-ref: icon-sprites */ | 936 | background-image: url(/@@/distribution.png); /* sprite-ref: icon-sprites */ |
593 | 931 | background-repeat: no-repeat; | 937 | background-repeat: no-repeat; |
594 | 932 | 938 | ||
595 | === modified file 'lib/lp/services/spriteutils.py' | |||
596 | --- lib/lp/services/spriteutils.py 2010-02-10 06:02:33 +0000 | |||
597 | +++ lib/lp/services/spriteutils.py 2010-02-17 00:55:27 +0000 | |||
598 | @@ -112,6 +112,10 @@ | |||
599 | 112 | if parameters['sprite-ref'] == group_name: | 112 | if parameters['sprite-ref'] == group_name: |
600 | 113 | filename = self._getSpriteImagePath( | 113 | filename = self._getSpriteImagePath( |
601 | 114 | rule, url_prefix_substitutions) | 114 | rule, url_prefix_substitutions) |
602 | 115 | if filename == '': | ||
603 | 116 | raise AssertionError( | ||
604 | 117 | "Missing background-image url for %s css style" | ||
605 | 118 | % rule.selectorText) | ||
606 | 115 | self.sprite_info.append( | 119 | self.sprite_info.append( |
607 | 116 | dict(filename=filename, rule=rule)) | 120 | dict(filename=filename, rule=rule)) |
608 | 117 | 121 | ||
609 | @@ -155,7 +159,12 @@ | |||
610 | 155 | total_sprite_height = 0 | 159 | total_sprite_height = 0 |
611 | 156 | for sprite in self.sprite_info: | 160 | for sprite in self.sprite_info: |
612 | 157 | abs_filename = os.path.join(css_dir, sprite['filename']) | 161 | abs_filename = os.path.join(css_dir, sprite['filename']) |
614 | 158 | sprite_images[sprite['filename']] = Image.open(abs_filename) | 162 | try: |
615 | 163 | sprite_images[sprite['filename']] = Image.open(abs_filename) | ||
616 | 164 | except IOError: | ||
617 | 165 | print >> sys.stderr, "Error opening '%s' for %s css rule" % ( | ||
618 | 166 | abs_filename, sprite['rule'].selectorText) | ||
619 | 167 | raise | ||
620 | 159 | width, height = sprite_images[sprite['filename']].size | 168 | width, height = sprite_images[sprite['filename']].size |
621 | 160 | max_sprite_width = max(width, max_sprite_width) | 169 | max_sprite_width = max(width, max_sprite_width) |
622 | 161 | total_sprite_height += height | 170 | total_sprite_height += height |
Summary
-------
Re-added .branch and .cves css rules that were accidentally removed when
switching to automatic generation of the combined sprite image.
Implementation details ------- ------- -
-------
Re-added the .branch css rule and the .cves css rule. canonical/ launchpad/ icing/style- 3-0.css. in
lib/
Added some error handling. lp/services/ spriteutils. py
lib/
New sprite image and positioning file for generating the combo.css canonical/ launchpad/ icing/icon- sprites canonical/ launchpad/ icing/icon- sprites. positioning
from the style-3-0.css.in.
lib/
lib/
Tests
-----
./bin/test -vv -t sprites.txt
Demo and Q/A
------------
* Open https:/ /code.launchpad .dev/~mark/ firefox/ release- -0.9.1/ +merge/ 1 /bugs.launchpad .dev/debian/ +source/ mozilla- firefox/ +bug/3
* The branch icon should appear after "Proposed branch:" and "Merge into:".
* Open https:/
* The cves should float to the right.