Merge lp:~alecu/unity-scope-click/fix-store-card into lp:unity-scope-click/devel

Proposed by Alejandro J. Cura
Status: Merged
Approved by: Alejandro J. Cura
Approved revision: 310
Merged at revision: 309
Proposed branch: lp:~alecu/unity-scope-click/fix-store-card
Merge into: lp:unity-scope-click/devel
Diff against target: 644 lines (+580/-12)
3 files modified
data/CMakeLists.txt (+1/-1)
data/store-scope-icon.svg (+567/-0)
scope/clickapps/apps-query.cpp (+12/-11)
To merge this branch: bzr merge lp:~alecu/unity-scope-click/fix-store-card
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
dobey (community) Approve
Diego Sarmentero (community) Approve
Review via email: mp+225079@code.launchpad.net

Commit message

Make the app store card look like the final designs

To post a comment you must log in.
Revision history for this message
Alejandro J. Cura (alecu) wrote :

Since this branch is about adding a file and changing a few strings, here's a screenshot that shows it in action: http://pasteboard.co/1berRCDi.png

Revision history for this message
Diego Sarmentero (diegosarmentero) wrote :

+1

review: Approve
Revision history for this message
dobey (dobey) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
310. By Alejandro J. Cura

Missing rename

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'data/CMakeLists.txt'
--- data/CMakeLists.txt 2014-05-27 13:15:52 +0000
+++ data/CMakeLists.txt 2014-06-30 21:50:16 +0000
@@ -23,7 +23,7 @@
23)23)
2424
25install(25install(
26 FILES clickscope-screenshot.jpg apps-scope.svg26 FILES clickscope-screenshot.jpg apps-scope.svg store-scope-icon.svg
27 DESTINATION "${STORE_DATA_DIR}"27 DESTINATION "${STORE_DATA_DIR}"
28)28)
2929
3030
=== added file 'data/store-scope-icon.svg'
--- data/store-scope-icon.svg 1970-01-01 00:00:00 +0000
+++ data/store-scope-icon.svg 2014-06-30 21:50:16 +0000
@@ -0,0 +1,567 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4<svg
5 xmlns:dc="http://purl.org/dc/elements/1.1/"
6 xmlns:cc="http://creativecommons.org/ns#"
7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8 xmlns:svg="http://www.w3.org/2000/svg"
9 xmlns="http://www.w3.org/2000/svg"
10 xmlns:xlink="http://www.w3.org/1999/xlink"
11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13 width="512"
14 height="476"
15 id="svg3336"
16 version="1.1"
17 inkscape:version="0.48.4 r9939"
18 sodipodi:docname="apps-scope-icon.svg"
19 inkscape:export-filename="app_shape02.png"
20 inkscape:export-xdpi="180"
21 inkscape:export-ydpi="180"
22 style="enable-background:new">
23 <defs
24 id="defs3338">
25 <filter
26 style="color-interpolation-filters:sRGB"
27 inkscape:label="Inner Shadow"
28 id="filter4245">
29 <feFlood
30 flood-opacity="0.40000000000000002"
31 flood-color="rgb(0,0,0)"
32 result="flood"
33 id="feFlood4247" />
34 <feComposite
35 in="flood"
36 in2="SourceGraphic"
37 operator="out"
38 result="composite1"
39 id="feComposite4249" />
40 <feGaussianBlur
41 in="composite1"
42 stdDeviation="6"
43 result="blur"
44 id="feGaussianBlur4251" />
45 <feOffset
46 dx="0"
47 dy="2"
48 result="offset"
49 id="feOffset4253" />
50 <feComposite
51 in="offset"
52 in2="SourceGraphic"
53 operator="atop"
54 result="composite2"
55 id="feComposite4255" />
56 </filter>
57 <filter
58 style="color-interpolation-filters:sRGB"
59 inkscape:label="Drop Shadow"
60 id="filter4711">
61 <feFlood
62 flood-opacity="0.501961"
63 flood-color="rgb(0,0,0)"
64 result="flood"
65 id="feFlood4713" />
66 <feComposite
67 in="flood"
68 in2="SourceGraphic"
69 operator="in"
70 result="composite1"
71 id="feComposite4715" />
72 <feGaussianBlur
73 in="composite1"
74 stdDeviation="6"
75 result="blur"
76 id="feGaussianBlur4717" />
77 <feOffset
78 dx="0"
79 dy="4"
80 result="offset"
81 id="feOffset4719" />
82 <feComposite
83 in="SourceGraphic"
84 in2="offset"
85 operator="over"
86 result="composite2"
87 id="feComposite4721" />
88 </filter>
89 <filter
90 style="color-interpolation-filters:sRGB"
91 inkscape:label="Colorize"
92 id="filter4260">
93 <feComposite
94 in2="SourceGraphic"
95 operator="arithmetic"
96 k1="0"
97 k2="1"
98 result="composite1"
99 id="feComposite4262"
100 k3="0"
101 k4="0" />
102 <feColorMatrix
103 in="composite1"
104 values="0"
105 type="saturate"
106 result="colormatrix1"
107 id="feColorMatrix4264" />
108 <feFlood
109 flood-opacity="1"
110 flood-color="rgb(158,67,0)"
111 result="flood1"
112 id="feFlood4266" />
113 <feBlend
114 in="flood1"
115 in2="colormatrix1"
116 mode="multiply"
117 result="blend1"
118 id="feBlend4268" />
119 <feBlend
120 in2="blend1"
121 mode="screen"
122 result="blend2"
123 id="feBlend4270" />
124 <feColorMatrix
125 in="blend2"
126 values="1"
127 type="saturate"
128 result="colormatrix2"
129 id="feColorMatrix4272" />
130 <feComposite
131 in="colormatrix2"
132 in2="SourceGraphic"
133 operator="in"
134 result="composite2"
135 id="feComposite4274" />
136 </filter>
137 <linearGradient
138 inkscape:collect="always"
139 id="linearGradient4230-9">
140 <stop
141 style="stop-color:#f6f2ec;stop-opacity:1"
142 offset="0"
143 id="stop4151" />
144 <stop
145 style="stop-color:#e1d4c0;stop-opacity:1"
146 offset="1"
147 id="stop4153" />
148 </linearGradient>
149 <clipPath
150 clipPathUnits="userSpaceOnUse"
151 id="clipPath4241">
152 <path
153 sodipodi:nodetypes="sssssssss"
154 inkscape:connector-curvature="0"
155 id="path4243"
156 d="m 166.05406,17.99997 179.89189,0 c 145.29729,0 166.05406,20.73726 166.05406,165.89904 l 0,144.20253 c 0,145.16118 -20.75677,165.89848 -166.05406,165.89848 l -179.89189,0 C 20.756757,494.00002 0,473.26272 0,328.10154 L 0,183.89901 C 0,38.73723 20.756757,17.99997 166.05406,17.99997 Z"
157 style="fill:#0000ff;fill-opacity:0.08118083;stroke:#0000ff;display:inline" />
158 </clipPath>
159 <clipPath
160 clipPathUnits="userSpaceOnUse"
161 id="clipPath4510">
162 <path
163 style="fill:#0000ff;fill-opacity:0.08118083;stroke:#0000ff;display:inline"
164 d="m 463.30663,-109.56117 179.89189,0 c 145.29729,0 166.05406,20.73726 166.05406,165.89904 l 0,144.20253 c 0,145.16118 -20.75677,165.89848 -166.05406,165.89848 l -179.89189,0 c -145.2973,0 -166.05406,-20.7373 -166.05406,-165.89848 l 0,-144.20253 c 0,-145.16178 20.75676,-165.89904 166.05406,-165.89904 z"
165 id="path4512"
166 inkscape:connector-curvature="0"
167 sodipodi:nodetypes="sssssssss" />
168 </clipPath>
169 <clipPath
170 clipPathUnits="userSpaceOnUse"
171 id="clipPath4707">
172 <path
173 sodipodi:nodetypes="sssssssss"
174 inkscape:connector-curvature="0"
175 id="path4709"
176 d="m 166.05406,17.99997 179.89189,0 c 145.29729,0 166.05406,20.73726 166.05406,165.89904 l 0,144.20253 c 0,145.16118 -20.75677,165.89848 -166.05406,165.89848 l -179.89189,0 C 20.75676,494.00002 0,473.26272 0,328.10154 L 0,183.89901 C 0,38.73723 20.75676,17.99997 166.05406,17.99997 Z"
177 style="fill:#ff00ff;fill-opacity:0.50479234;stroke:none;display:inline" />
178 </clipPath>
179 <clipPath
180 clipPathUnits="userSpaceOnUse"
181 id="clipPath4170">
182 <path
183 style="fill:#ffffff;fill-opacity:1;stroke:none;display:inline"
184 d="m 166.05406,17.99997 179.89189,0 c 145.29729,0 166.05406,20.73726 166.05406,165.89904 l 0,144.20253 c 0,145.16118 -20.75677,165.89848 -166.05406,165.89848 l -179.89189,0 C 20.75676,494.00002 0,473.26272 0,328.10154 L 0,183.89901 C 0,38.73723 20.75676,17.99997 166.05406,17.99997 Z"
185 id="path4172"
186 inkscape:connector-curvature="0"
187 sodipodi:nodetypes="sssssssss" />
188 </clipPath>
189 <linearGradient
190 inkscape:collect="always"
191 xlink:href="#linearGradient7537"
192 id="linearGradient3223"
193 gradientUnits="userSpaceOnUse"
194 gradientTransform="matrix(5.3329426,0,0,-5.4179322,0.01904181,5682.273)"
195 x1="44.236801"
196 y1="1046.2661"
197 x2="44.236801"
198 y2="960.21375" />
199 <linearGradient
200 id="linearGradient7537">
201 <stop
202 style="stop-color:#f6814e;stop-opacity:0.99607843"
203 offset="0"
204 id="stop7539" />
205 <stop
206 id="stop4265"
207 offset="0.49599037"
208 style="stop-color:#e9354a;stop-opacity:0.99607843" />
209 <stop
210 style="stop-color:#be245a;stop-opacity:1"
211 offset="1"
212 id="stop7541" />
213 </linearGradient>
214 <clipPath
215 clipPathUnits="userSpaceOnUse"
216 id="clipPath4967">
217 <path
218 style="opacity:0.4;color:#000000;fill:#ff00ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
219 d="M 119.86447,193.96008 236.17789,151.15047 339.16724,166.36466 392.09848,328.03894 392.283,494 119.86447,494 Z"
220 id="path4969"
221 inkscape:connector-curvature="0"
222 sodipodi:nodetypes="ccccccc" />
223 </clipPath>
224 <clipPath
225 clipPathUnits="userSpaceOnUse"
226 id="clipPath4126">
227 <path
228 style="opacity:0.57099998;color:#000000;fill:#ff00ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
229 d="m 160.28233,309.99918 122.94966,60 0,124.0008 -122.94966,0 z"
230 id="path4128"
231 inkscape:connector-curvature="0"
232 sodipodi:nodetypes="ccccc" />
233 </clipPath>
234 <clipPath
235 clipPathUnits="userSpaceOnUse"
236 id="clipPath4235">
237 <path
238 style="opacity:0.4;color:#000000;fill:#ff00ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
239 d="m 112,274 46.7049,63.80269 47.91779,-18.12276 71.9684,12.14543 39.48326,12.85956 L 384,274 l 0,220 -272,0 z"
240 id="path4237"
241 inkscape:connector-curvature="0"
242 sodipodi:nodetypes="ccccccccc" />
243 </clipPath>
244 <clipPath
245 clipPathUnits="userSpaceOnUse"
246 id="clipPath4251">
247 <path
248 style="opacity:0.3;color:#000000;fill:#ff00ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
249 d="m 151.09711,359.41623 32.64849,-39.40714 101.92348,7.11528 31.70175,32.29186 0,134.58377 -166.27372,0 z"
250 id="path4253"
251 inkscape:connector-curvature="0"
252 sodipodi:nodetypes="ccccccc" />
253 </clipPath>
254 <clipPath
255 clipPathUnits="userSpaceOnUse"
256 id="clipPath4277">
257 <path
258 style="opacity:0.58999999;color:#000000;fill:#ff00ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
259 d="m 190.21352,387.1221 82.28733,10.67687 0,96.20103 -82.28733,0 z"
260 id="path4279"
261 inkscape:connector-curvature="0"
262 sodipodi:nodetypes="ccccc" />
263 </clipPath>
264 <clipPath
265 clipPathUnits="userSpaceOnUse"
266 id="clipPath4196">
267 <path
268 style="opacity:0.3;color:#000000;fill:#ff00ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
269 d="m 638.21375,486.59579 63.81095,88.00549 153.12554,3.39578 71.06351,-91.40127 0,238 -288,0 z"
270 id="path4198"
271 inkscape:connector-curvature="0"
272 sodipodi:nodetypes="ccccccc" />
273 </clipPath>
274 <clipPath
275 clipPathUnits="userSpaceOnUse"
276 id="clipPath4215">
277 <rect
278 style="opacity:0.3;color:#000000;fill:#ff00ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
279 id="rect4217"
280 width="146.32043"
281 height="150.33058"
282 x="702.04108"
283 y="574.2652" />
284 </clipPath>
285 <clipPath
286 clipPathUnits="userSpaceOnUse"
287 id="clipPath4171">
288 <path
289 id="path4173"
290 d="m 233.75,180.15625 c -23.89408,0 -47.55791,3.41205 -70.34375,10.125 -6.26939,1.84752 -9.84555,8.44936 -8,14.71875 1.84883,6.26874 8.41092,9.84751 14.6875,8 20.61186,-6.07313 42.02773,-9.15625 63.65625,-9.15625 40.03239,0 79.37086,10.66957 113.71875,30.84375 1.8835,1.10629 3.93413,1.625 5.96875,1.625 4.05944,0 8.01272,-2.05858 10.21875,-5.8125 3.31035,-5.63545 1.44795,-12.9084 -4.1875,-16.21875 -37.98009,-22.30826 -81.47515,-34.125 -125.71875,-34.125 z m 0,49.0625 c -20.84803,0 -41.3983,3.20428 -61.125,9.53125 -5.60012,1.79779 -8.70274,7.80548 -6.90625,13.40625 1.79779,5.60144 7.80481,8.66887 13.40625,6.875 17.62011,-5.65312 35.98758,-8.5 54.625,-8.5 33.54514,0 66.26798,9.358 94.59375,27.0625 1.75528,1.09778 3.6957,1.625 5.625,1.625 3.55111,0 7.04161,-1.79941 9.0625,-5.03125 3.118,-4.98778 1.58348,-11.53889 -3.40625,-14.65625 -31.71594,-19.82418 -68.33454,-30.3125 -105.875,-30.3125 z m 0,48.53125 c -17.90666,0 -35.42422,3.0797 -52.09375,9.1875 -4.91058,1.79845 -7.42345,7.24567 -5.625,12.15625 1.79976,4.90796 7.21507,7.45535 12.125,5.65625 14.57602,-5.33975 29.91733,-8.0625 45.59375,-8.0625 27.10238,0 53.1999,8.13992 75.4375,23.5625 1.64667,1.13835 3.5144,1.6875 5.375,1.6875 3.00026,0 5.94289,-1.4116 7.78125,-4.0625 2.97736,-4.29692 1.92323,-10.20818 -2.375,-13.1875 C 294.54968,287.05954 264.72667,277.75 233.75,277.75 Z"
291 style="fill:#ff0000"
292 inkscape:connector-curvature="0" />
293 </clipPath>
294 <clipPath
295 clipPathUnits="userSpaceOnUse"
296 id="clipPath4149">
297 <rect
298 y="340.15625"
299 x="147.149"
300 height="155.84375"
301 width="217.28188"
302 id="rect4151"
303 style="opacity:0.5;color:#000000;fill:#ff00ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:8;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
304 </clipPath>
305 <clipPath
306 clipPathUnits="userSpaceOnUse"
307 id="clipPath4240">
308 <path
309 style="opacity:0.3;color:#000000;fill:#ff00ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:40;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
310 d="m 123.20169,213.81313 131.91243,-39.95605 130.18771,40.41597 0,258.27583 -261.29528,0 z"
311 id="path4242"
312 inkscape:connector-curvature="0" />
313 </clipPath>
314 <linearGradient
315 inkscape:collect="always"
316 xlink:href="#linearGradient4142"
317 id="linearGradient4148"
318 x1="221.78072"
319 y1="353.00031"
320 x2="221.78072"
321 y2="494"
322 gradientUnits="userSpaceOnUse" />
323 <linearGradient
324 inkscape:collect="always"
325 id="linearGradient4142">
326 <stop
327 style="stop-color:#000000;stop-opacity:1;"
328 offset="0"
329 id="stop4144" />
330 <stop
331 id="stop4158"
332 offset="0.75"
333 style="stop-color:#000000;stop-opacity:0" />
334 <stop
335 style="stop-color:#000000;stop-opacity:0"
336 offset="1"
337 id="stop4146" />
338 </linearGradient>
339 <linearGradient
340 inkscape:collect="always"
341 xlink:href="#linearGradient4230-9"
342 id="linearGradient4161-8"
343 x1="238.52586"
344 y1="209.36218"
345 x2="238.52586"
346 y2="149.36218"
347 gradientUnits="userSpaceOnUse"
348 gradientTransform="matrix(3.3777778,0,0,3.3777778,-136.53334,-370.1123)" />
349 <linearGradient
350 id="linearGradient7537-6">
351 <stop
352 style="stop-color:#73c1da;stop-opacity:1"
353 offset="0"
354 id="stop7539-5" />
355 <stop
356 style="stop-color:#3aa3c6;stop-opacity:1"
357 offset="1"
358 id="stop7541-5" />
359 </linearGradient>
360 <linearGradient
361 id="linearGradient7537-2">
362 <stop
363 style="stop-color:#73c1da;stop-opacity:1"
364 offset="0"
365 id="stop7539-7" />
366 <stop
367 style="stop-color:#3aa3c6;stop-opacity:1"
368 offset="1"
369 id="stop7541-6" />
370 </linearGradient>
371 <clipPath
372 clipPathUnits="userSpaceOnUse"
373 id="clipPath4135">
374 <rect
375 y="179.92949"
376 x="389.53821"
377 height="302.44305"
378 width="116.61196"
379 id="rect4137"
380 style="opacity:0.3;color:#000000;fill:#ff00ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
381 </clipPath>
382 <filter
383 style="color-interpolation-filters:sRGB"
384 inkscape:label="Colorize"
385 id="filter4154">
386 <feComposite
387 in2="SourceGraphic"
388 operator="arithmetic"
389 k1="0"
390 k2="1"
391 result="composite1"
392 id="feComposite4156"
393 k3="0"
394 k4="0" />
395 <feColorMatrix
396 in="composite1"
397 values="0"
398 type="saturate"
399 result="colormatrix1"
400 id="feColorMatrix4158" />
401 <feFlood
402 flood-opacity="1"
403 flood-color="rgb(119,50,131)"
404 result="flood1"
405 id="feFlood4160" />
406 <feBlend
407 in="flood1"
408 in2="colormatrix1"
409 mode="multiply"
410 result="blend1"
411 id="feBlend4162" />
412 <feBlend
413 in2="blend1"
414 mode="screen"
415 result="blend2"
416 id="feBlend4164" />
417 <feColorMatrix
418 in="blend2"
419 values="1"
420 type="saturate"
421 result="colormatrix2"
422 id="feColorMatrix4166" />
423 <feComposite
424 in="colormatrix2"
425 in2="SourceGraphic"
426 operator="in"
427 result="composite2"
428 id="feComposite4168" />
429 </filter>
430 </defs>
431 <sodipodi:namedview
432 id="base"
433 pagecolor="#333333"
434 bordercolor="#666666"
435 borderopacity="1.0"
436 inkscape:pageopacity="0"
437 inkscape:pageshadow="2"
438 inkscape:zoom="1.66893"
439 inkscape:cx="78.128889"
440 inkscape:cy="218.97283"
441 inkscape:document-units="px"
442 inkscape:current-layer="layer4"
443 showgrid="false"
444 inkscape:window-width="2495"
445 inkscape:window-height="1416"
446 inkscape:window-x="65"
447 inkscape:window-y="24"
448 inkscape:window-maximized="1"
449 inkscape:snap-page="true"
450 inkscape:showpageshadow="false"
451 showborder="true"
452 inkscape:snap-bbox="true"
453 inkscape:bbox-paths="true"
454 inkscape:bbox-nodes="true"
455 inkscape:snap-bbox-edge-midpoints="true"
456 inkscape:snap-bbox-midpoints="true"
457 inkscape:object-paths="true"
458 inkscape:object-nodes="true"
459 inkscape:snap-intersection-paths="true"
460 inkscape:snap-smooth-nodes="true"
461 inkscape:snap-midpoints="true"
462 inkscape:snap-object-midpoints="true"
463 inkscape:snap-center="true"
464 showguides="true"
465 inkscape:guide-bbox="true"
466 inkscape:snap-grids="true"
467 fit-margin-top="0"
468 fit-margin-left="0"
469 fit-margin-right="0.4"
470 fit-margin-bottom="0"
471 inkscape:snap-global="true"
472 inkscape:snap-others="true">
473 <inkscape:grid
474 type="xygrid"
475 id="grid811"
476 originx="0px"
477 originy="-1.999997px"
478 visible="true"
479 enabled="true" />
480 <sodipodi:guide
481 orientation="1,0"
482 position="104,158"
483 id="guide819" />
484 <sodipodi:guide
485 orientation="1,0"
486 position="120,142"
487 id="guide821" />
488 <sodipodi:guide
489 orientation="1,0"
490 position="392,126"
491 id="guide823" />
492 <sodipodi:guide
493 orientation="1,0"
494 position="408,126"
495 id="guide825" />
496 <sodipodi:guide
497 orientation="0,1"
498 position="176,102"
499 id="guide831" />
500 <sodipodi:guide
501 orientation="0,1"
502 position="216,86"
503 id="guide833" />
504 <inkscape:grid
505 type="axonomgrid"
506 id="grid835"
507 units="px"
508 empspacing="60"
509 gridanglex="42.9"
510 gridanglez="42.9"
511 spacingy="3.522px"
512 enabled="false"
513 originx="0px"
514 originy="3e-06px" />
515 <sodipodi:guide
516 orientation="0,1"
517 position="160,118"
518 id="guide4128" />
519 <sodipodi:guide
520 orientation="1,0"
521 position="136,78.000003"
522 id="guide4130" />
523 <sodipodi:guide
524 orientation="1,0"
525 position="376,118"
526 id="guide4134" />
527 </sodipodi:namedview>
528 <metadata
529 id="metadata3341">
530 <rdf:RDF>
531 <cc:Work
532 rdf:about="">
533 <dc:format>image/svg+xml</dc:format>
534 <dc:type
535 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
536 <dc:title />
537 </cc:Work>
538 </rdf:RDF>
539 </metadata>
540 <g
541 inkscape:groupmode="layer"
542 id="layer3"
543 inkscape:label="Background"
544 transform="translate(0,-18)"
545 sodipodi:insensitive="true"
546 style="display:none">
547 <rect
548 style="color:#000000;fill:#ea3f4b;fill-opacity:0.99607843;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
549 id="rect4158"
550 width="512"
551 height="476"
552 x="0"
553 y="18" />
554 </g>
555 <g
556 inkscape:groupmode="layer"
557 id="layer4"
558 inkscape:label="Pictogram"
559 transform="translate(0,-18)"
560 style="display:inline">
561 <path
562 style="font-size:12.0041132px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;display:inline;font-family:Ubuntu;-inkscape-font-specification:Ubuntu Medium"
563 d="m 246.12516,203.3342 -0.37618,0.7994 c -3.44514,7.29888 -6.72093,14.79449 -9.96889,22.28892 -3.24716,7.49441 -6.6247,15.56144 -9.96888,23.84066 -0.93212,2.37762 -1.88024,4.85474 -2.82138,7.28858 l 21.20739,0 c 1.71891,-4.53711 3.41054,-8.93958 4.98444,-13.0724 2.42507,-6.15621 4.58117,-11.14133 6.5362,-15.75271 1.87096,4.45643 3.76474,9.21542 6.16001,15.37653 1.64261,4.22467 3.31675,8.78231 5.03148,13.44858 l 21.67761,0 c -0.99262,-2.43671 -2.00246,-4.91184 -2.96244,-7.28858 -3.24769,-8.28411 -6.29642,-16.34117 -9.54568,-23.84066 -3.24807,-7.49439 -6.57088,-14.99129 -10.01591,-22.28892 l -0.37619,-0.7994 -19.56158,0 z m -35.26727,58.77879 c -6.669,0 -12.03789,5.3689 -12.03789,12.0379 0,6.66899 5.36889,12.0379 12.03789,12.0379 l 90.28422,0 c 6.669,0 12.03789,-5.36891 12.03789,-12.0379 0,-6.669 -5.36889,-12.0379 -12.03789,-12.0379 l -90.28422,0 z m 0,6.01895 52.66579,0 c 3.33453,0 6.01895,2.68442 6.01895,6.01895 0,3.33454 -2.68442,6.01895 -6.01895,6.01895 l -52.66579,0 c -3.33453,0 -6.01895,-2.68441 -6.01895,-6.01895 0,-3.33453 2.68442,-6.01895 6.01895,-6.01895 z m -0.18809,22.61809 c -1.80313,5.12633 -3.65558,10.45445 -5.59574,15.98782 l -0.75238,1.92795 22.2419,0 4.60825,-12.69622 c 0.63131,-1.72923 1.27783,-3.47038 1.88094,-5.21955 l -22.19488,0 c -0.063,0 -0.12535,7.4e-4 -0.18809,0 z m 67.384,0 c 0.596,1.77201 1.19714,3.51825 1.8339,5.21955 1.46811,3.92263 2.86148,7.92307 4.23208,11.94385 l 0.32916,0.75237 1.17558,0 22.28891,0 -0.7994,-1.92795 c -1.94339,-5.54224 -3.86063,-10.86844 -5.73681,-15.98782 -0.0784,7.4e-4 -0.15646,0 -0.23511,0 l -23.08831,0 z"
564 id="path2996"
565 inkscape:connector-curvature="0" />
566 </g>
567</svg>
0568
=== modified file 'scope/clickapps/apps-query.cpp'
--- scope/clickapps/apps-query.cpp 2014-06-16 12:40:06 +0000
+++ scope/clickapps/apps-query.cpp 2014-06-30 21:50:16 +0000
@@ -84,21 +84,21 @@
8484
85static const char CATEGORY_STORE[] = R"(85static const char CATEGORY_STORE[] = R"(
86{86{
87 "schema-version": 1,
88 "template": {87 "template": {
89 "category-layout": "grid",88 "category-layout": "grid",
90 "card-size": "medium",89 "overlay": true,
91 "card-background": "color:///#E9E9E9"90 "card-size": "small",
91 "card-background": "color:///#DD4814"
92 },92 },
93 "components": {93 "components": {
94 "title": "title",94 "title": "title",
95 "subtitle": "author",95 "art": {
96 "mascot": {96 "aspect-ratio": 0.55,
97 "field": "art"97 "field": "art"
98 },98 }
99 "background": "background"
100 }99 }
101}100}
101
102)";102)";
103103
104104
@@ -167,7 +167,8 @@
167167
168void click::Query::add_fake_store_app(scopes::SearchReplyProxy const& searchReply)168void click::Query::add_fake_store_app(scopes::SearchReplyProxy const& searchReply)
169{169{
170 static const std::string title = _("Get more apps in Ubuntu store");170 static const std::string title = _("Ubuntu Store");
171 static const std::string cat_title = _("Get more apps from the store");
171 auto name = title;172 auto name = title;
172173
173 std::string querystr = query().query_string();174 std::string querystr = query().query_string();
@@ -176,13 +177,13 @@
176 if (querystr.empty() || name.find(querystr) != std::string::npos)177 if (querystr.empty() || name.find(querystr) != std::string::npos)
177 {178 {
178 scopes::CategoryRenderer rdr(CATEGORY_STORE);179 scopes::CategoryRenderer rdr(CATEGORY_STORE);
179 auto cat = searchReply->register_category("store", "", "", rdr);180 auto cat = searchReply->register_category("store", cat_title, "", rdr);
180181
181 static const unity::scopes::CannedQuery store_scope("com.canonical.scopes.clickstore");182 static const unity::scopes::CannedQuery store_scope("com.canonical.scopes.clickstore");
182183
183 scopes::CategorisedResult res(cat);184 scopes::CategorisedResult res(cat);
184 res.set_title(title);185 res.set_title(title);
185 res.set_art(STORE_DATA_DIR "/apps-scope.svg");186 res.set_art(STORE_DATA_DIR "/store-scope-icon.svg");
186 res.set_uri(store_scope.to_uri());187 res.set_uri(store_scope.to_uri());
187 res[click::Query::ResultKeys::NAME] = title;188 res[click::Query::ResultKeys::NAME] = title;
188 res[click::Query::ResultKeys::DESCRIPTION] = "";189 res[click::Query::ResultKeys::DESCRIPTION] = "";

Subscribers

People subscribed via source and target branches

to all changes: