Merge lp:~nathandyer/midori/midori-extension-pocket into lp:midori
- midori-extension-pocket
- Merge into trunk
Proposed by
Nathan Dyer
Status: | Needs review |
---|---|
Proposed branch: | lp:~nathandyer/midori/midori-extension-pocket |
Merge into: | lp:midori |
Diff against target: |
615 lines (+592/-0) 4 files modified
extensions/pocket.vala (+122/-0) icons/CMakeLists.txt (+2/-0) icons/scalable/status/pocket-grey.svg (+230/-0) icons/scalable/status/pocket-red.svg (+238/-0) |
To merge this branch: | bzr merge lp:~nathandyer/midori/midori-extension-pocket |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
gue5t gue5t | Needs Fixing | ||
Review via email:
|
Commit message
Description of the change
A new extension that allows users to save web articles, videos, and other content into their Pocket account (https:/
To post a comment you must log in.
Unmerged revisions
- 7087. By Nathan Dyer <email address hidden>
-
Initial commit for the Midori Pocket extension.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added file 'extensions/pocket.vala' |
2 | --- extensions/pocket.vala 1970-01-01 00:00:00 +0000 |
3 | +++ extensions/pocket.vala 2016-01-11 14:41:25 +0000 |
4 | @@ -0,0 +1,122 @@ |
5 | +/* |
6 | + BEGIN LICENSE |
7 | + |
8 | + Copyright (C) 2015-2016 Nathan Dyer <mail@nathandyer.me> |
9 | + |
10 | + This library is free software; you can redistribute it and/or |
11 | + modify it under the terms of the GNU Lesser General Public |
12 | + License as published by the Free Software Foundation; either |
13 | + version 2.1 of the License, or (at your option) any later version. |
14 | + |
15 | + See the file COPYING for the full license text. |
16 | +*/ |
17 | + |
18 | +namespace Pocket { |
19 | + private class Manager : Midori.Extension { |
20 | + |
21 | + private GLib.List<Midori.View> pocketed_tabs = new GLib.List<Midori.View>(); |
22 | + private GLib.List<string> pocketed_uris = new GLib.List<string>(); |
23 | + private string previous_uri; |
24 | + |
25 | + public PocketAction pocket_action; |
26 | + |
27 | + internal Manager () { |
28 | + GLib.Object (name: _("Pocket"), |
29 | + description: _("Save any web page to Pocket"), |
30 | + version: "0.1" + Midori.VERSION_SUFFIX, |
31 | + authors: "Nathan Dyer <mail@nathandyer.me>"); |
32 | + |
33 | + activate.connect (this.activated); |
34 | + deactivate.connect (this.deactivated); |
35 | + pocket_action = new PocketAction(); |
36 | + } |
37 | + |
38 | + void switch_tab (Midori.View? old_view, Midori.View? new_view) { |
39 | + // See if the new view is one that we have pocketed |
40 | + if(new_view != null) { |
41 | + if(pocketed_tabs.find(new_view) != null) { |
42 | + pocket_action.gicon = new GLib.ThemedIcon ("pocket-red"); |
43 | + } else { |
44 | + pocket_action.gicon = new GLib.ThemedIcon ("pocket-grey"); |
45 | + } |
46 | + } |
47 | + } |
48 | + |
49 | + void remove_tab (Midori.View tab) { |
50 | + if(pocketed_tabs.find(tab) != null) { |
51 | + pocket_action.gicon = new GLib.ThemedIcon ("pocket-grey"); |
52 | + pocketed_tabs.remove(tab); |
53 | + } |
54 | + } |
55 | + |
56 | + void browser_added (Midori.Browser browser) { |
57 | + browser.add_action (pocket_action); |
58 | + browser.switch_tab.connect(switch_tab); |
59 | + browser.remove_tab.connect(remove_tab); |
60 | + |
61 | + // When the save to pocket button is clicked |
62 | + pocket_action.activate.connect(() => { |
63 | + |
64 | + // Set the icon |
65 | + pocket_action.gicon = new GLib.ThemedIcon ("pocket-red"); |
66 | + |
67 | + // Store the view |
68 | + pocketed_tabs.append(browser.tab as Midori.View); |
69 | + |
70 | + // Save the URI |
71 | + pocketed_uris.append(browser.uri); |
72 | + previous_uri = browser.uri; |
73 | + |
74 | + var tab = browser.tab as Midori.Tab; |
75 | + |
76 | + // If the user is in the same tab as the page they pocketed, figure out what to do |
77 | + // should they decide to navigate |
78 | + tab.navigation_requested.connect((new_uri) => { |
79 | + |
80 | + // If the new place we're going is different from the saved page, reset the icon |
81 | + if(new_uri != previous_uri) { |
82 | + pocket_action.gicon = new GLib.ThemedIcon ("pocket-grey"); |
83 | + } |
84 | + |
85 | + return true; |
86 | + }); |
87 | + |
88 | + // Activate the javascript add function provided directly by Pocket |
89 | + string uri = """javascript:(function(){var e=function(t,n,r,i,s){var o=[2475458,1343461,5459244,3357751,2655528,5695460,5673939,1791235,8752590,4527118];var i=i||0,u=0,n=n||[],r=r||0,s=s||0;var a={'a':97,'b':98,'c':99,'d':100,'e':101,'f':102,'g':103,'h':104,'i':105,'j':106,'k':107,'l':108,'m':109,'n':110,'o':111,'p':112,'q':113,'r':114,'s':115,'t':116,'u':117,'v':118,'w':119,'x':120,'y':121,'z':122,'A':65,'B':66,'C':67,'D':68,'E':69,'F':70,'G':71,'H':72,'I':73,'J':74,'K':75,'L':76,'M':77,'N':78,'O':79,'P':80,'Q':81,'R':82,'S':83,'T':84,'U':85,'V':86,'W':87,'X':88,'Y':89,'Z':90,'0':48,'1':49,'2':50,'3':51,'4':52,'5':53,'6':54,'7':55,'8':56,'9':57,'\/':47,':':58,'?':63,'=':61,'-':45,'_':95,'&':38,'$':36,'!':33,'.':46};if(!s||s==0){t=o[0]+t}for(var%20f=0;f%3Ct.length;f++){var%20l=function(e,t){return%20a[e[t]]?a[e[t]]:e.charCodeAt(t)}(t,f);if(!l*1)l=3;var%20c=l*(o[i]+l*o[u%o.length]);n[r]=(n[r]?n[r]+c:c)+s+u;var%20p=c%(50*1);if(n[p]){var%20d=n[r];n[r]=n[p];n[p]=d}u+=c;r=r==50?0:r+1;i=i==o.length-1?0:i+1}if(s==153){var%20v='';for(var%20f=0;f%3Cn.length;f++){v+=String.fromCharCode(n[f]%(25*1)+97)}o=function(){};return%20v+'3fad135fe7'}else{return%20e(u+'',n,r,i,s+1)}};var%20t=document,n=t.location.href,r=t.title;var%20i=e(n);var%20s=t.createElement('script');s.type='text/javascript';s.src='https://getpocket.com/b/r4.js?h='+i+'&u='+encodeURIComponent(n)+'&t='+encodeURIComponent(r);e=i=function(){};var%20o=t.getElementsByTagName('head')[0]||t.documentElement;o.appendChild(s)})()"""; |
90 | + browser.uri = uri; |
91 | + }); |
92 | + } |
93 | + |
94 | + void browser_removed(Midori.Browser browser) { |
95 | + browser.remove_action (pocket_action); |
96 | + browser.switch_tab.disconnect(switch_tab); |
97 | + browser.remove_tab.disconnect(remove_tab); |
98 | + } |
99 | + |
100 | + void activated (Midori.App app) { |
101 | + foreach (var browser in app.get_browsers ()) |
102 | + browser_added (browser); |
103 | + app.add_browser.connect (browser_added); |
104 | + } |
105 | + |
106 | + void deactivated () { |
107 | + var app = get_app (); |
108 | + foreach (var browser in app.get_browsers ()) |
109 | + browser_removed(browser); |
110 | + app.add_browser.disconnect (browser_added); |
111 | + } |
112 | + } |
113 | + |
114 | + public class PocketAction : Gtk.Action { |
115 | + |
116 | + public PocketAction () { |
117 | + GLib.Object (name: "PocketStatusMenu"); |
118 | + tooltip = _("Add to Pocket"); |
119 | + gicon = new GLib.ThemedIcon ("pocket-grey"); |
120 | + } |
121 | + } |
122 | +} |
123 | + |
124 | +public Midori.Extension extension_init () { |
125 | + return new Pocket.Manager (); |
126 | +} |
127 | |
128 | === modified file 'icons/CMakeLists.txt' |
129 | --- icons/CMakeLists.txt 2015-08-25 21:19:54 +0000 |
130 | +++ icons/CMakeLists.txt 2016-01-11 14:41:25 +0000 |
131 | @@ -18,3 +18,5 @@ |
132 | install_icon(adblock-disabled status ${SIZE}) |
133 | endforeach() |
134 | |
135 | +install_icon(pocket-red status scalable) |
136 | +install_icon(pocket-grey status scalable) |
137 | \ No newline at end of file |
138 | |
139 | === added file 'icons/scalable/status/pocket-grey.svg' |
140 | --- icons/scalable/status/pocket-grey.svg 1970-01-01 00:00:00 +0000 |
141 | +++ icons/scalable/status/pocket-grey.svg 2016-01-11 14:41:25 +0000 |
142 | @@ -0,0 +1,230 @@ |
143 | +<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
144 | +<!-- Created with Inkscape (http://www.inkscape.org/) --> |
145 | + |
146 | +<svg |
147 | + xmlns:dc="http://purl.org/dc/elements/1.1/" |
148 | + xmlns:cc="http://creativecommons.org/ns#" |
149 | + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
150 | + xmlns:svg="http://www.w3.org/2000/svg" |
151 | + xmlns="http://www.w3.org/2000/svg" |
152 | + xmlns:xlink="http://www.w3.org/1999/xlink" |
153 | + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
154 | + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
155 | + version="1.1" |
156 | + width="24" |
157 | + height="24" |
158 | + id="svg4524" |
159 | + inkscape:version="0.91+devel+osxmenu r12898" |
160 | + sodipodi:docname="pocket-grey.svg"> |
161 | + <sodipodi:namedview |
162 | + pagecolor="#c6c6c6" |
163 | + bordercolor="#666666" |
164 | + borderopacity="1" |
165 | + objecttolerance="10" |
166 | + gridtolerance="10" |
167 | + guidetolerance="10" |
168 | + inkscape:pageopacity="0" |
169 | + inkscape:pageshadow="2" |
170 | + inkscape:window-width="1920" |
171 | + inkscape:window-height="971" |
172 | + id="namedview4575" |
173 | + showgrid="false" |
174 | + showborder="true" |
175 | + inkscape:zoom="1" |
176 | + inkscape:cx="22.042898" |
177 | + inkscape:cy="1.2822762" |
178 | + inkscape:window-x="0" |
179 | + inkscape:window-y="23" |
180 | + inkscape:window-maximized="0" |
181 | + inkscape:current-layer="svg4524" |
182 | + inkscape:snap-global="true" |
183 | + inkscape:object-paths="true" |
184 | + inkscape:snap-intersection-paths="true" |
185 | + inkscape:object-nodes="true" |
186 | + inkscape:snap-smooth-nodes="true" |
187 | + inkscape:snap-midpoints="true"> |
188 | + <inkscape:grid |
189 | + type="xygrid" |
190 | + id="grid5120" |
191 | + empspacing="4" /> |
192 | + </sodipodi:namedview> |
193 | + <defs |
194 | + id="defs4526"> |
195 | + <linearGradient |
196 | + id="linearGradient5964"> |
197 | + <stop |
198 | + offset="0" |
199 | + style="stop-color:#737373;stop-opacity:1" |
200 | + id="stop5966" /> |
201 | + <stop |
202 | + offset="0.26238" |
203 | + style="stop-color:#636363;stop-opacity:1" |
204 | + id="stop5968" /> |
205 | + <stop |
206 | + offset="0.704952" |
207 | + style="stop-color:#4b4b4b;stop-opacity:1" |
208 | + id="stop5970" /> |
209 | + <stop |
210 | + offset="1" |
211 | + style="stop-color:#3f3f3f;stop-opacity:1" |
212 | + id="stop5972" /> |
213 | + </linearGradient> |
214 | + <linearGradient |
215 | + id="linearGradient2867-449-88-871-390-598-476-591-434-148-57-177-641-289-620-227-114-444-680-744-4-1"> |
216 | + <stop |
217 | + id="stop5430-5-0" |
218 | + style="stop-color:#737373;stop-opacity:1" |
219 | + offset="0" /> |
220 | + <stop |
221 | + id="stop5432-2-0" |
222 | + style="stop-color:#636363;stop-opacity:1" |
223 | + offset="0.26238" /> |
224 | + <stop |
225 | + id="stop5434-9-6" |
226 | + style="stop-color:#4b4b4b;stop-opacity:1" |
227 | + offset="0.704952" /> |
228 | + <stop |
229 | + id="stop5436-2-7" |
230 | + style="stop-color:#3f3f3f;stop-opacity:1" |
231 | + offset="1" /> |
232 | + </linearGradient> |
233 | + <radialGradient |
234 | + cx="16.202444" |
235 | + cy="-19.005346" |
236 | + r="19.99999" |
237 | + fx="16.202444" |
238 | + fy="-19.005346" |
239 | + id="radialGradient3896-0" |
240 | + xlink:href="#linearGradient2867-449-88-871-390-598-476-591-434-148-57-177-641-289-620-227-114-444-680-744-4-1-5" |
241 | + gradientUnits="userSpaceOnUse" |
242 | + gradientTransform="matrix(0,1.5000006,-1.5241254,0,-37.218168,-23.077676)" /> |
243 | + <linearGradient |
244 | + id="linearGradient2867-449-88-871-390-598-476-591-434-148-57-177-641-289-620-227-114-444-680-744-4-1-5"> |
245 | + <stop |
246 | + id="stop5430-5-0-9" |
247 | + style="stop-color:#737373;stop-opacity:1" |
248 | + offset="0" /> |
249 | + <stop |
250 | + id="stop5432-2-0-0" |
251 | + style="stop-color:#636363;stop-opacity:1" |
252 | + offset="0.26238" /> |
253 | + <stop |
254 | + id="stop5434-9-6-8" |
255 | + style="stop-color:#4b4b4b;stop-opacity:1" |
256 | + offset="0.704952" /> |
257 | + <stop |
258 | + id="stop5436-2-7-0" |
259 | + style="stop-color:#3f3f3f;stop-opacity:1" |
260 | + offset="1" /> |
261 | + </linearGradient> |
262 | + <linearGradient |
263 | + id="linearGradient9192"> |
264 | + <stop |
265 | + id="stop9196" |
266 | + offset="0" |
267 | + style="stop-color:#ee4056;stop-opacity:1;" /> |
268 | + <stop |
269 | + id="stop9194" |
270 | + offset="1" |
271 | + style="stop-color:#d6394c;stop-opacity:1;" /> |
272 | + </linearGradient> |
273 | + <clipPath |
274 | + clipPathUnits="userSpaceOnUse" |
275 | + id="clipPath4599"> |
276 | + <path |
277 | + inkscape:connector-curvature="0" |
278 | + id="path4601" |
279 | + d="M 81.454545,86.999998 C 71.789011,86.999998 64,94.889003 64,104.68408 c 0,72.55382 13.099571,122.04909 80,122.31487 66.90044,0.26579 80,-49.69947 80,-122.31487 -1e-5,-9.795077 -7.78901,-17.684082 -17.45455,-17.684082 l -125.090905,0 z m 99.371905,39.822672 c 2.74532,0 5.49546,1.07973 7.6033,3.21529 4.21567,4.27113 4.21567,11.20244 0,15.47357 l -36,36.4734 c -2.31516,2.34561 -5.41517,3.31202 -8.42975,3.08132 -3.01458,0.23069 -6.11459,-0.73571 -8.42976,-3.08132 l -35.999988,-36.4734 c -4.215688,-4.27113 -4.215688,-11.20244 0,-15.47357 2.107828,-2.13556 4.885498,-3.18179 7.636348,-3.18179 2.75087,0 5.46242,1.04623 7.57025,3.18179 L 144,159.64539 173.22314,130.03796 c 2.10785,-2.13556 4.85796,-3.21529 7.60331,-3.21529 z" |
280 | + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient4603);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4.5;marker:none;enable-background:accumulate" /> |
281 | + </clipPath> |
282 | + <clipPath |
283 | + clipPathUnits="userSpaceOnUse" |
284 | + id="clipPath5864"> |
285 | + <path |
286 | + inkscape:connector-curvature="0" |
287 | + id="path5866" |
288 | + d="M 81.454545,86.999998 C 71.789011,86.999998 64,94.889003 64,104.68408 c 0,72.55382 13.099571,122.04909 80,122.31487 66.90044,0.26579 80,-49.69947 80,-122.31487 -1e-5,-9.795077 -7.78901,-17.684082 -17.45455,-17.684082 l -125.090905,0 z m 99.371905,39.822672 c 2.74532,0 5.49546,1.07973 7.6033,3.21529 4.21567,4.27113 4.21567,11.20244 0,15.47357 l -36,36.4734 c -2.31516,2.34561 -5.41517,3.31202 -8.42975,3.08132 -3.01458,0.23069 -6.11459,-0.73571 -8.42976,-3.08132 l -35.999988,-36.4734 c -4.215688,-4.27113 -4.215688,-11.20244 0,-15.47357 2.107828,-2.13556 4.885498,-3.18179 7.636348,-3.18179 2.75087,0 5.46242,1.04623 7.57025,3.18179 L 144,159.64539 173.22314,130.03796 c 2.10785,-2.13556 4.85796,-3.21529 7.60331,-3.21529 z" |
289 | + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient4603);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4.5;marker:none;enable-background:accumulate" /> |
290 | + </clipPath> |
291 | + <clipPath |
292 | + clipPathUnits="userSpaceOnUse" |
293 | + id="clipPath6010"> |
294 | + <path |
295 | + inkscape:connector-curvature="0" |
296 | + id="path6012" |
297 | + d="m 5.7454546,3.9799601 c -0.9665543,0 -1.7454548,0.7889004 -1.7454548,1.7684081 0,7.2553808 1.3099577,12.2070898 7.9999992,12.2336678 6.690044,0.02658 8,-4.972128 8,-12.2336678 -10e-7,-0.9795077 -0.7789,-1.7684081 -1.745455,-1.7684081 z m 9.9371894,3.8079331 c 0.274532,0 0.549546,0.1079725 0.76033,0.321529 0.421567,0.4271127 0.421568,1.1202453 0,1.5473572 l -3.6,3.6473386 c -0.231516,0.234561 -0.541516,0.331203 -0.842975,0.308133 -0.301458,0.02306 -0.611463,-0.07358 -0.842975,-0.308133 L 7.5570248,9.6567794 c -0.4215693,-0.427113 -0.4215691,-1.1202445 0,-1.5473572 0.2107828,-0.213556 0.4885497,-0.318179 0.7636343,-0.318179 0.2750879,0 0.5462414,0.1046237 0.7570249,0.318179 l 2.922315,2.9607428 2.922315,-2.9607428 c 0.210785,-0.2135564 0.485795,-0.321529 0.76033,-0.321529 z" |
298 | + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#3465a4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.65624976;marker:none;enable-background:accumulate" |
299 | + sodipodi:nodetypes="sssssssssscssssscss" /> |
300 | + </clipPath> |
301 | + <clipPath |
302 | + clipPathUnits="userSpaceOnUse" |
303 | + id="clipPath6791"> |
304 | + <path |
305 | + sodipodi:nodetypes="sssssssssscssssscss" |
306 | + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker:none;enable-background:accumulate" |
307 | + d="M 4.853063,4 C 3.7486008,4 2.858568,4.90146 2.858568,6.020723 c 0,8.290572 1.4968605,13.948786 9.141432,13.979156 7.644573,0.03037 9.141432,-5.681547 9.141432,-13.979156 C 21.141431,4.90146 20.2514,4 19.146938,4 Z m 11.355018,4.3512456 c 0.313702,0 0.627955,0.1233779 0.868813,0.3674045 0.481716,0.4880527 0.481717,1.2800814 0,1.7681319 L 12.96325,14.65452 C 12.698701,14.922548 12.344471,15.032979 12,15.006617 11.65553,15.032967 11.301294,14.922537 11.03675,14.65452 L 6.9231061,10.486782 c -0.4817192,-0.4880528 -0.481718,-1.2800792 0,-1.7681319 0.2408574,-0.244026 0.5582548,-0.3635765 0.8725886,-0.3635765 0.3143374,0 0.6241782,0.1195513 0.8650367,0.3635765 L 12,12.101828 15.339268,8.7186501 c 0.24086,-0.2440265 0.555108,-0.3674045 0.868813,-0.3674045 z" |
308 | + id="path6793" |
309 | + inkscape:connector-curvature="0" /> |
310 | + </clipPath> |
311 | + <clipPath |
312 | + clipPathUnits="userSpaceOnUse" |
313 | + id="clipPath6888"> |
314 | + <path |
315 | + id="path6890" |
316 | + d="m -19,4 c 0,0 -2,0 -2,2 0,8.290572 1.355428,13.96963 9,14 7.644573,0.03037 9,-5.702391 9,-14 0,-2 -2,-2 -2,-2 l -14,0 z m 10.9863281,3.9785156 a 1.50015,1.50015 0 0 1 1.0742188,2.5820314 l -3.9999999,4 a 1.50015,1.50015 0 0 1 -0.05859,0.05469 1.50015,1.50015 0 0 1 -0.01953,0.01758 l -0.01953,0.02149 c -0.264549,0.268028 -0.61842,0.377924 -0.962891,0.351562 -0.34447,0.02635 -0.698347,-0.08354 -0.962891,-0.351562 l -0.05469,-0.05469 a 1.50015,1.50015 0 0 1 -0.04297,-0.03906 l -4,-4 a 1.50015,1.50015 0 0 1 1.044922,-2.576172 1.50015,1.50015 0 0 1 1.076172,0.4550781 L -12,11.378906 -9.0605469,8.4394531 a 1.50015,1.50015 0 0 1 1.046875,-0.4609375 z" |
317 | + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.65624976;marker:none;enable-background:accumulate" |
318 | + inkscape:connector-curvature="0" /> |
319 | + </clipPath> |
320 | + <radialGradient |
321 | + inkscape:collect="always" |
322 | + xlink:href="#linearGradient5964" |
323 | + id="radialGradient7085" |
324 | + cx="12" |
325 | + cy="3" |
326 | + fx="12" |
327 | + fy="3" |
328 | + r="9" |
329 | + gradientTransform="matrix(3.5555556,0,0,3.4444444,-30.666667,-6.3333335)" |
330 | + gradientUnits="userSpaceOnUse" /> |
331 | + <clipPath |
332 | + clipPathUnits="userSpaceOnUse" |
333 | + id="clipPath7104"> |
334 | + <path |
335 | + id="path7106" |
336 | + d="M 5,4 C 3.892,4 3,4.892 3,6 l 0,6 c 0,0 0,8 9,8 9,0 9,-8 9,-8 L 21,6 C 21,4.892 20.108,4 19,4 L 5,4 Z m 10.986328,3.9785156 c 1.368269,-0.032327 2.061648,1.634302 1.074219,2.5820314 l -4,4 c -0.01904,0.01875 -0.03858,0.03698 -0.05859,0.05469 -0.0065,0.0059 -0.01297,0.01178 -0.01953,0.01758 l -0.01953,0.02149 C 12.698336,14.922315 12.344471,15.032221 12,15.005859 c -0.34447,0.02635 -0.698347,-0.08354 -0.962891,-0.351562 l -0.05469,-0.05469 c -0.01457,-0.01274 -0.0289,-0.02576 -0.04297,-0.03906 l -3.9999999,-4 C 5.9734111,9.6220979 6.637555,7.9846998 7.984375,7.984375 8.38986,7.9843911 8.7780679,8.1485518 9.0605469,8.4394531 L 12,11.378906 14.939453,8.4394531 C 15.21384,8.1535764 15.590189,7.9878707 15.986328,7.9785156 Z" |
337 | + style="opacity:1;fill:#cb3b3b;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" |
338 | + inkscape:connector-curvature="0" /> |
339 | + </clipPath> |
340 | + </defs> |
341 | + <metadata |
342 | + id="metadata4529"> |
343 | + <rdf:RDF> |
344 | + <cc:Work |
345 | + rdf:about=""> |
346 | + <dc:format>image/svg+xml</dc:format> |
347 | + <dc:type |
348 | + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
349 | + <dc:title /> |
350 | + </cc:Work> |
351 | + </rdf:RDF> |
352 | + </metadata> |
353 | + <path |
354 | + id="path7110" |
355 | + d="M 5,5 C 3.892,5 3,5.892 3,7 l 0,6 c 0,0 0,8 9,8 9,0 9,-8 9,-8 L 21,7 C 21,5.892 20.108,5 19,5 L 5,5 Z m 10.986328,3.9785156 c 1.368269,-0.032327 2.061648,1.6343024 1.074219,2.5820314 l -4,4 c -0.01904,0.01875 -0.03858,0.03698 -0.05859,0.05469 -0.0065,0.0059 -0.01297,0.01178 -0.01953,0.01758 l -0.01953,0.02149 C 12.698336,15.922315 12.344471,16.032221 12,16.005859 c -0.34447,0.02635 -0.698347,-0.08354 -0.962891,-0.351562 l -0.05469,-0.05469 c -0.01457,-0.01274 -0.0289,-0.02576 -0.04297,-0.03906 l -3.9999999,-4 C 5.9734111,10.622098 6.637555,8.9846998 7.984375,8.984375 8.38986,8.9843911 8.7780679,9.1485518 9.0605469,9.4394531 L 12,12.378906 14.939453,9.4394531 C 15.21384,9.1535764 15.590189,8.9878707 15.986328,8.9785156 Z" |
356 | + style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" |
357 | + inkscape:connector-curvature="0" /> |
358 | + <path |
359 | + style="opacity:1;fill:url(#radialGradient7085);fill-opacity:1.0;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" |
360 | + d="M 5 4 C 3.892 4 3 4.892 3 6 L 3 12 C 3 12 3 20 12 20 C 21 20 21 12 21 12 L 21 6 C 21 4.892 20.108 4 19 4 L 5 4 z M 15.986328 7.9785156 C 17.354597 7.9461886 18.047976 9.6128176 17.060547 10.560547 L 13.060547 14.560547 C 13.041507 14.579297 13.021963 14.597524 13.001953 14.615234 C 12.995453 14.621134 12.988982 14.627013 12.982422 14.632812 L 12.962891 14.654297 C 12.698336 14.922315 12.344471 15.032221 12 15.005859 C 11.65553 15.032209 11.301653 14.922319 11.037109 14.654297 L 10.982422 14.599609 C 10.967852 14.586869 10.953523 14.573847 10.939453 14.560547 L 6.9394531 10.560547 C 5.9734111 9.6220979 6.637555 7.9846998 7.984375 7.984375 C 8.38986 7.9843911 8.7780679 8.1485518 9.0605469 8.4394531 L 12 11.378906 L 14.939453 8.4394531 C 15.21384 8.1535764 15.590189 7.9878707 15.986328 7.9785156 z " |
361 | + id="rect7074" /> |
362 | + <path |
363 | + id="path7092" |
364 | + d="M 5 4 C 3.892 4 3 4.892 3 6 L 3 12 C 3 12 3 20 12 20 C 21 20 21 12 21 12 L 21 6 C 21 4.892 20.108 4 19 4 L 5 4 z M 15.986328 7.9785156 C 17.354597 7.9461886 18.047976 9.6128176 17.060547 10.560547 L 13.060547 14.560547 C 13.041507 14.579297 13.021963 14.597524 13.001953 14.615234 C 12.995453 14.621134 12.988982 14.627013 12.982422 14.632812 L 12.962891 14.654297 C 12.698336 14.922315 12.344471 15.032221 12 15.005859 C 11.65553 15.032209 11.301653 14.922319 11.037109 14.654297 L 10.982422 14.599609 C 10.967852 14.586869 10.953523 14.573847 10.939453 14.560547 L 6.9394531 10.560547 C 5.9734111 9.6220979 6.637555 7.9846998 7.984375 7.984375 C 8.38986 7.9843911 8.7780679 8.1485518 9.0605469 8.4394531 L 12 11.378906 L 14.939453 8.4394531 C 15.21384 8.1535764 15.590189 7.9878707 15.986328 7.9785156 z " |
365 | + style="opacity:0.1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" |
366 | + clip-path="url(#clipPath7104)" /> |
367 | + <path |
368 | + clip-path="url(#clipPath7104)" |
369 | + style="opacity:0.03;fill:none;fill-opacity:1;stroke:#000000;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" |
370 | + d="M 5 4 C 3.892 4 3 4.892 3 6 L 3 12 C 3 12 3 20 12 20 C 21 20 21 12 21 12 L 21 6 C 21 4.892 20.108 4 19 4 L 5 4 z M 15.986328 7.9785156 C 17.354597 7.9461886 18.047976 9.6128176 17.060547 10.560547 L 13.060547 14.560547 C 13.041507 14.579297 13.021963 14.597524 13.001953 14.615234 C 12.995453 14.621134 12.988982 14.627013 12.982422 14.632812 L 12.962891 14.654297 C 12.698336 14.922315 12.344471 15.032221 12 15.005859 C 11.65553 15.032209 11.301653 14.922319 11.037109 14.654297 L 10.982422 14.599609 C 10.967852 14.586869 10.953523 14.573847 10.939453 14.560547 L 6.9394531 10.560547 C 5.9734111 9.6220979 6.637555 7.9846998 7.984375 7.984375 C 8.38986 7.9843911 8.7780679 8.1485518 9.0605469 8.4394531 L 12 11.378906 L 14.939453 8.4394531 C 15.21384 8.1535764 15.590189 7.9878707 15.986328 7.9785156 z " |
371 | + id="path7108" /> |
372 | +</svg> |
373 | |
374 | === added file 'icons/scalable/status/pocket-red.svg' |
375 | --- icons/scalable/status/pocket-red.svg 1970-01-01 00:00:00 +0000 |
376 | +++ icons/scalable/status/pocket-red.svg 2016-01-11 14:41:25 +0000 |
377 | @@ -0,0 +1,238 @@ |
378 | +<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
379 | +<!-- Created with Inkscape (http://www.inkscape.org/) --> |
380 | + |
381 | +<svg |
382 | + xmlns:dc="http://purl.org/dc/elements/1.1/" |
383 | + xmlns:cc="http://creativecommons.org/ns#" |
384 | + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
385 | + xmlns:svg="http://www.w3.org/2000/svg" |
386 | + xmlns="http://www.w3.org/2000/svg" |
387 | + xmlns:xlink="http://www.w3.org/1999/xlink" |
388 | + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
389 | + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
390 | + version="1.1" |
391 | + width="24" |
392 | + height="24" |
393 | + id="svg4524" |
394 | + inkscape:version="0.91+devel+osxmenu r12898" |
395 | + sodipodi:docname="pocket-red.svg"> |
396 | + <sodipodi:namedview |
397 | + pagecolor="#c6c6c6" |
398 | + bordercolor="#666666" |
399 | + borderopacity="1" |
400 | + objecttolerance="10" |
401 | + gridtolerance="10" |
402 | + guidetolerance="10" |
403 | + inkscape:pageopacity="0" |
404 | + inkscape:pageshadow="2" |
405 | + inkscape:window-width="1920" |
406 | + inkscape:window-height="971" |
407 | + id="namedview4575" |
408 | + showgrid="false" |
409 | + showborder="false" |
410 | + inkscape:zoom="1" |
411 | + inkscape:cx="61.374788" |
412 | + inkscape:cy="-5.349285" |
413 | + inkscape:window-x="0" |
414 | + inkscape:window-y="23" |
415 | + inkscape:window-maximized="0" |
416 | + inkscape:current-layer="svg4524" |
417 | + inkscape:snap-global="true" |
418 | + inkscape:object-paths="true" |
419 | + inkscape:snap-intersection-paths="true" |
420 | + inkscape:object-nodes="true" |
421 | + inkscape:snap-smooth-nodes="true" |
422 | + inkscape:snap-midpoints="true"> |
423 | + <inkscape:grid |
424 | + type="xygrid" |
425 | + id="grid5120" |
426 | + empspacing="4" /> |
427 | + </sodipodi:namedview> |
428 | + <defs |
429 | + id="defs4526"> |
430 | + <linearGradient |
431 | + id="linearGradient5964"> |
432 | + <stop |
433 | + offset="0" |
434 | + style="stop-color:#737373;stop-opacity:1" |
435 | + id="stop5966" /> |
436 | + <stop |
437 | + offset="0.26238" |
438 | + style="stop-color:#636363;stop-opacity:1" |
439 | + id="stop5968" /> |
440 | + <stop |
441 | + offset="0.704952" |
442 | + style="stop-color:#4b4b4b;stop-opacity:1" |
443 | + id="stop5970" /> |
444 | + <stop |
445 | + offset="1" |
446 | + style="stop-color:#3f3f3f;stop-opacity:1" |
447 | + id="stop5972" /> |
448 | + </linearGradient> |
449 | + <linearGradient |
450 | + id="linearGradient2867-449-88-871-390-598-476-591-434-148-57-177-641-289-620-227-114-444-680-744-4-1"> |
451 | + <stop |
452 | + id="stop5430-5-0" |
453 | + style="stop-color:#737373;stop-opacity:1" |
454 | + offset="0" /> |
455 | + <stop |
456 | + id="stop5432-2-0" |
457 | + style="stop-color:#636363;stop-opacity:1" |
458 | + offset="0.26238" /> |
459 | + <stop |
460 | + id="stop5434-9-6" |
461 | + style="stop-color:#4b4b4b;stop-opacity:1" |
462 | + offset="0.704952" /> |
463 | + <stop |
464 | + id="stop5436-2-7" |
465 | + style="stop-color:#3f3f3f;stop-opacity:1" |
466 | + offset="1" /> |
467 | + </linearGradient> |
468 | + <radialGradient |
469 | + cx="16.202444" |
470 | + cy="-19.005346" |
471 | + r="19.99999" |
472 | + fx="16.202444" |
473 | + fy="-19.005346" |
474 | + id="radialGradient3896-0" |
475 | + xlink:href="#linearGradient2867-449-88-871-390-598-476-591-434-148-57-177-641-289-620-227-114-444-680-744-4-1-5" |
476 | + gradientUnits="userSpaceOnUse" |
477 | + gradientTransform="matrix(0,1.5000006,-1.5241254,0,-37.218168,-23.077676)" /> |
478 | + <linearGradient |
479 | + id="linearGradient2867-449-88-871-390-598-476-591-434-148-57-177-641-289-620-227-114-444-680-744-4-1-5"> |
480 | + <stop |
481 | + id="stop5430-5-0-9" |
482 | + style="stop-color:#737373;stop-opacity:1" |
483 | + offset="0" /> |
484 | + <stop |
485 | + id="stop5432-2-0-0" |
486 | + style="stop-color:#636363;stop-opacity:1" |
487 | + offset="0.26238" /> |
488 | + <stop |
489 | + id="stop5434-9-6-8" |
490 | + style="stop-color:#4b4b4b;stop-opacity:1" |
491 | + offset="0.704952" /> |
492 | + <stop |
493 | + id="stop5436-2-7-0" |
494 | + style="stop-color:#3f3f3f;stop-opacity:1" |
495 | + offset="1" /> |
496 | + </linearGradient> |
497 | + <linearGradient |
498 | + id="linearGradient9192"> |
499 | + <stop |
500 | + id="stop9196" |
501 | + offset="0" |
502 | + style="stop-color:#ee4056;stop-opacity:1;" /> |
503 | + <stop |
504 | + id="stop9194" |
505 | + offset="1" |
506 | + style="stop-color:#d6394c;stop-opacity:1;" /> |
507 | + </linearGradient> |
508 | + <clipPath |
509 | + clipPathUnits="userSpaceOnUse" |
510 | + id="clipPath4599"> |
511 | + <path |
512 | + inkscape:connector-curvature="0" |
513 | + id="path4601" |
514 | + d="M 81.454545,86.999998 C 71.789011,86.999998 64,94.889003 64,104.68408 c 0,72.55382 13.099571,122.04909 80,122.31487 66.90044,0.26579 80,-49.69947 80,-122.31487 -1e-5,-9.795077 -7.78901,-17.684082 -17.45455,-17.684082 l -125.090905,0 z m 99.371905,39.822672 c 2.74532,0 5.49546,1.07973 7.6033,3.21529 4.21567,4.27113 4.21567,11.20244 0,15.47357 l -36,36.4734 c -2.31516,2.34561 -5.41517,3.31202 -8.42975,3.08132 -3.01458,0.23069 -6.11459,-0.73571 -8.42976,-3.08132 l -35.999988,-36.4734 c -4.215688,-4.27113 -4.215688,-11.20244 0,-15.47357 2.107828,-2.13556 4.885498,-3.18179 7.636348,-3.18179 2.75087,0 5.46242,1.04623 7.57025,3.18179 L 144,159.64539 173.22314,130.03796 c 2.10785,-2.13556 4.85796,-3.21529 7.60331,-3.21529 z" |
515 | + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient4603);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4.5;marker:none;enable-background:accumulate" /> |
516 | + </clipPath> |
517 | + <clipPath |
518 | + clipPathUnits="userSpaceOnUse" |
519 | + id="clipPath5864"> |
520 | + <path |
521 | + inkscape:connector-curvature="0" |
522 | + id="path5866" |
523 | + d="M 81.454545,86.999998 C 71.789011,86.999998 64,94.889003 64,104.68408 c 0,72.55382 13.099571,122.04909 80,122.31487 66.90044,0.26579 80,-49.69947 80,-122.31487 -1e-5,-9.795077 -7.78901,-17.684082 -17.45455,-17.684082 l -125.090905,0 z m 99.371905,39.822672 c 2.74532,0 5.49546,1.07973 7.6033,3.21529 4.21567,4.27113 4.21567,11.20244 0,15.47357 l -36,36.4734 c -2.31516,2.34561 -5.41517,3.31202 -8.42975,3.08132 -3.01458,0.23069 -6.11459,-0.73571 -8.42976,-3.08132 l -35.999988,-36.4734 c -4.215688,-4.27113 -4.215688,-11.20244 0,-15.47357 2.107828,-2.13556 4.885498,-3.18179 7.636348,-3.18179 2.75087,0 5.46242,1.04623 7.57025,3.18179 L 144,159.64539 173.22314,130.03796 c 2.10785,-2.13556 4.85796,-3.21529 7.60331,-3.21529 z" |
524 | + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient4603);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4.5;marker:none;enable-background:accumulate" /> |
525 | + </clipPath> |
526 | + <clipPath |
527 | + clipPathUnits="userSpaceOnUse" |
528 | + id="clipPath6010"> |
529 | + <path |
530 | + inkscape:connector-curvature="0" |
531 | + id="path6012" |
532 | + d="m 5.7454546,3.9799601 c -0.9665543,0 -1.7454548,0.7889004 -1.7454548,1.7684081 0,7.2553808 1.3099577,12.2070898 7.9999992,12.2336678 6.690044,0.02658 8,-4.972128 8,-12.2336678 -10e-7,-0.9795077 -0.7789,-1.7684081 -1.745455,-1.7684081 z m 9.9371894,3.8079331 c 0.274532,0 0.549546,0.1079725 0.76033,0.321529 0.421567,0.4271127 0.421568,1.1202453 0,1.5473572 l -3.6,3.6473386 c -0.231516,0.234561 -0.541516,0.331203 -0.842975,0.308133 -0.301458,0.02306 -0.611463,-0.07358 -0.842975,-0.308133 L 7.5570248,9.6567794 c -0.4215693,-0.427113 -0.4215691,-1.1202445 0,-1.5473572 0.2107828,-0.213556 0.4885497,-0.318179 0.7636343,-0.318179 0.2750879,0 0.5462414,0.1046237 0.7570249,0.318179 l 2.922315,2.9607428 2.922315,-2.9607428 c 0.210785,-0.2135564 0.485795,-0.321529 0.76033,-0.321529 z" |
533 | + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#3465a4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.65624976;marker:none;enable-background:accumulate" |
534 | + sodipodi:nodetypes="sssssssssscssssscss" /> |
535 | + </clipPath> |
536 | + <clipPath |
537 | + clipPathUnits="userSpaceOnUse" |
538 | + id="clipPath6791"> |
539 | + <path |
540 | + sodipodi:nodetypes="sssssssssscssssscss" |
541 | + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker:none;enable-background:accumulate" |
542 | + d="M 4.853063,4 C 3.7486008,4 2.858568,4.90146 2.858568,6.020723 c 0,8.290572 1.4968605,13.948786 9.141432,13.979156 7.644573,0.03037 9.141432,-5.681547 9.141432,-13.979156 C 21.141431,4.90146 20.2514,4 19.146938,4 Z m 11.355018,4.3512456 c 0.313702,0 0.627955,0.1233779 0.868813,0.3674045 0.481716,0.4880527 0.481717,1.2800814 0,1.7681319 L 12.96325,14.65452 C 12.698701,14.922548 12.344471,15.032979 12,15.006617 11.65553,15.032967 11.301294,14.922537 11.03675,14.65452 L 6.9231061,10.486782 c -0.4817192,-0.4880528 -0.481718,-1.2800792 0,-1.7681319 0.2408574,-0.244026 0.5582548,-0.3635765 0.8725886,-0.3635765 0.3143374,0 0.6241782,0.1195513 0.8650367,0.3635765 L 12,12.101828 15.339268,8.7186501 c 0.24086,-0.2440265 0.555108,-0.3674045 0.868813,-0.3674045 z" |
543 | + id="path6793" |
544 | + inkscape:connector-curvature="0" /> |
545 | + </clipPath> |
546 | + <clipPath |
547 | + clipPathUnits="userSpaceOnUse" |
548 | + id="clipPath6888"> |
549 | + <path |
550 | + id="path6890" |
551 | + d="m -19,4 c 0,0 -2,0 -2,2 0,8.290572 1.355428,13.96963 9,14 7.644573,0.03037 9,-5.702391 9,-14 0,-2 -2,-2 -2,-2 l -14,0 z m 10.9863281,3.9785156 a 1.50015,1.50015 0 0 1 1.0742188,2.5820314 l -3.9999999,4 a 1.50015,1.50015 0 0 1 -0.05859,0.05469 1.50015,1.50015 0 0 1 -0.01953,0.01758 l -0.01953,0.02149 c -0.264549,0.268028 -0.61842,0.377924 -0.962891,0.351562 -0.34447,0.02635 -0.698347,-0.08354 -0.962891,-0.351562 l -0.05469,-0.05469 a 1.50015,1.50015 0 0 1 -0.04297,-0.03906 l -4,-4 a 1.50015,1.50015 0 0 1 1.044922,-2.576172 1.50015,1.50015 0 0 1 1.076172,0.4550781 L -12,11.378906 -9.0605469,8.4394531 a 1.50015,1.50015 0 0 1 1.046875,-0.4609375 z" |
552 | + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.65624976;marker:none;enable-background:accumulate" |
553 | + inkscape:connector-curvature="0" /> |
554 | + </clipPath> |
555 | + <radialGradient |
556 | + inkscape:collect="always" |
557 | + xlink:href="#linearGradient9192" |
558 | + id="radialGradient7085" |
559 | + cx="12" |
560 | + cy="3" |
561 | + fx="12" |
562 | + fy="3" |
563 | + r="9" |
564 | + gradientTransform="matrix(3.5555556,0,0,3.4444444,-30.666667,-6.3333335)" |
565 | + gradientUnits="userSpaceOnUse" /> |
566 | + <clipPath |
567 | + clipPathUnits="userSpaceOnUse" |
568 | + id="clipPath7104"> |
569 | + <path |
570 | + id="path7106" |
571 | + d="M 5,4 C 3.892,4 3,4.892 3,6 l 0,6 c 0,0 0,8 9,8 9,0 9,-8 9,-8 L 21,6 C 21,4.892 20.108,4 19,4 L 5,4 Z m 10.986328,3.9785156 c 1.368269,-0.032327 2.061648,1.634302 1.074219,2.5820314 l -4,4 c -0.01904,0.01875 -0.03858,0.03698 -0.05859,0.05469 -0.0065,0.0059 -0.01297,0.01178 -0.01953,0.01758 l -0.01953,0.02149 C 12.698336,14.922315 12.344471,15.032221 12,15.005859 c -0.34447,0.02635 -0.698347,-0.08354 -0.962891,-0.351562 l -0.05469,-0.05469 c -0.01457,-0.01274 -0.0289,-0.02576 -0.04297,-0.03906 l -3.9999999,-4 C 5.9734111,9.6220979 6.637555,7.9846998 7.984375,7.984375 8.38986,7.9843911 8.7780679,8.1485518 9.0605469,8.4394531 L 12,11.378906 14.939453,8.4394531 C 15.21384,8.1535764 15.590189,7.9878707 15.986328,7.9785156 Z" |
572 | + style="opacity:1;fill:#cb3b3b;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" |
573 | + inkscape:connector-curvature="0" /> |
574 | + </clipPath> |
575 | + </defs> |
576 | + <metadata |
577 | + id="metadata4529"> |
578 | + <rdf:RDF> |
579 | + <cc:Work |
580 | + rdf:about=""> |
581 | + <dc:format>image/svg+xml</dc:format> |
582 | + <dc:type |
583 | + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
584 | + <dc:title></dc:title> |
585 | + </cc:Work> |
586 | + </rdf:RDF> |
587 | + </metadata> |
588 | + <path |
589 | + id="path7110" |
590 | + d="M 5,5 C 3.892,5 3,5.892 3,7 l 0,6 c 0,0 0,8 9,8 9,0 9,-8 9,-8 L 21,7 C 21,5.892 20.108,5 19,5 L 5,5 Z m 10.986328,3.9785156 c 1.368269,-0.032327 2.061648,1.6343024 1.074219,2.5820314 l -4,4 c -0.01904,0.01875 -0.03858,0.03698 -0.05859,0.05469 -0.0065,0.0059 -0.01297,0.01178 -0.01953,0.01758 l -0.01953,0.02149 C 12.698336,15.922315 12.344471,16.032221 12,16.005859 c -0.34447,0.02635 -0.698347,-0.08354 -0.962891,-0.351562 l -0.05469,-0.05469 c -0.01457,-0.01274 -0.0289,-0.02576 -0.04297,-0.03906 l -3.9999999,-4 C 5.9734111,10.622098 6.637555,8.9846998 7.984375,8.984375 8.38986,8.9843911 8.7780679,9.1485518 9.0605469,9.4394531 L 12,12.378906 14.939453,9.4394531 C 15.21384,9.1535764 15.590189,8.9878707 15.986328,8.9785156 Z" |
591 | + style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" |
592 | + inkscape:connector-curvature="0" /> |
593 | + <path |
594 | + style="opacity:1;fill:url(#radialGradient7085);fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" |
595 | + d="M 5,4 C 3.892,4 3,4.892 3,6 l 0,6 c 0,0 0,8 9,8 9,0 9,-8 9,-8 L 21,6 C 21,4.892 20.108,4 19,4 Z" |
596 | + id="rect7074" |
597 | + inkscape:connector-curvature="0" |
598 | + sodipodi:nodetypes="sscscsss" /> |
599 | + <path |
600 | + id="path7092" |
601 | + d="M 5 4 C 3.892 4 3 4.892 3 6 L 3 12 C 3 12 3 20 12 20 C 21 20 21 12 21 12 L 21 6 C 21 4.892 20.108 4 19 4 L 5 4 z M 15.986328 7.9785156 C 17.354597 7.9461886 18.047976 9.6128176 17.060547 10.560547 L 13.060547 14.560547 C 13.041507 14.579297 13.021963 14.597524 13.001953 14.615234 C 12.995453 14.621134 12.988982 14.627013 12.982422 14.632812 L 12.962891 14.654297 C 12.698336 14.922315 12.344471 15.032221 12 15.005859 C 11.65553 15.032209 11.301653 14.922319 11.037109 14.654297 L 10.982422 14.599609 C 10.967852 14.586869 10.953523 14.573847 10.939453 14.560547 L 6.9394531 10.560547 C 5.9734111 9.6220979 6.637555 7.9846998 7.984375 7.984375 C 8.38986 7.9843911 8.7780679 8.1485518 9.0605469 8.4394531 L 12 11.378906 L 14.939453 8.4394531 C 15.21384 8.1535764 15.590189 7.9878707 15.986328 7.9785156 z " |
602 | + style="opacity:0.1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" |
603 | + clip-path="url(#clipPath7104)" /> |
604 | + <path |
605 | + clip-path="url(#clipPath7104)" |
606 | + style="opacity:0.03;fill:none;fill-opacity:1;stroke:#000000;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" |
607 | + d="M 5 4 C 3.892 4 3 4.892 3 6 L 3 12 C 3 12 3 20 12 20 C 21 20 21 12 21 12 L 21 6 C 21 4.892 20.108 4 19 4 L 5 4 z M 15.986328 7.9785156 C 17.354597 7.9461886 18.047976 9.6128176 17.060547 10.560547 L 13.060547 14.560547 C 13.041507 14.579297 13.021963 14.597524 13.001953 14.615234 C 12.995453 14.621134 12.988982 14.627013 12.982422 14.632812 L 12.962891 14.654297 C 12.698336 14.922315 12.344471 15.032221 12 15.005859 C 11.65553 15.032209 11.301653 14.922319 11.037109 14.654297 L 10.982422 14.599609 C 10.967852 14.586869 10.953523 14.573847 10.939453 14.560547 L 6.9394531 10.560547 C 5.9734111 9.6220979 6.637555 7.9846998 7.984375 7.984375 C 8.38986 7.9843911 8.7780679 8.1485518 9.0605469 8.4394531 L 12 11.378906 L 14.939453 8.4394531 C 15.21384 8.1535764 15.590189 7.9878707 15.986328 7.9785156 z " |
608 | + id="path7108" /> |
609 | + <path |
610 | + id="path7114" |
611 | + d="m 15.986328,7.9785156 c 1.368269,-0.032327 2.061648,1.634302 1.074219,2.5820314 l -4,4 c -0.01904,0.01875 -0.03858,0.03698 -0.05859,0.05469 -0.0065,0.0059 -0.01297,0.01178 -0.01953,0.01758 l -0.01953,0.02149 C 12.698336,14.922315 12.344471,15.032221 12,15.005859 c -0.34447,0.02635 -0.698347,-0.08354 -0.962891,-0.351562 l -0.05469,-0.05469 c -0.01457,-0.01274 -0.0289,-0.02576 -0.04297,-0.03906 l -3.9999999,-4 C 5.9734111,9.6220979 6.637555,7.9846998 7.984375,7.984375 8.38986,7.9843911 8.7780679,8.1485518 9.0605469,8.4394531 L 12,11.378906 14.939453,8.4394531 C 15.21384,8.1535764 15.590189,7.9878707 15.986328,7.9785156 Z" |
612 | + style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" |
613 | + inkscape:connector-curvature="0" |
614 | + sodipodi:nodetypes="cccccccccccccccc" /> |
615 | +</svg> |
Similar comments apply as to the Instapaper extension: javascript should be run through contexts rather than setting browser URI; it would be ideal to do this natively, if possible; and we shouldn't be checking obfuscated javascript code which is likely copyrighted into the repository.
From a code style perspective, it might be better to have an active/inactive gicon value stored in the extension itself rather than creating new GLib.ThemedIcon instances with string names throughout the code.
It would also be a good idea to link the website of this service in the extension description, since many users will not be on a first-name basis with "Pocket".