Merge lp:~ballogy/indicator-sound/fix-playlist-icon into lp:indicator-sound/13.04

Proposed by Balló György
Status: Work in progress
Proposed branch: lp:~ballogy/indicator-sound/fix-playlist-icon
Merge into: lp:indicator-sound/13.04
Diff against target: 303 lines (+122/-122)
9 files modified
configure.ac (+2/-2)
data/icons/16x16/Makefile.am (+1/-1)
data/icons/16x16/mimetypes/Makefile.am (+8/-0)
data/icons/16x16/status/Makefile.am (+0/-8)
data/icons/scalable/Makefile.am (+1/-1)
data/icons/scalable/mimetypes/Makefile.am (+8/-0)
data/icons/scalable/mimetypes/playlist.svg (+102/-0)
data/icons/scalable/status/Makefile.am (+0/-8)
data/icons/scalable/status/sound-icon.svg (+0/-102)
To merge this branch: bzr merge lp:~ballogy/indicator-sound/fix-playlist-icon
Reviewer Review Type Date Requested Status
Mathieu Trudel-Lapierre Needs Fixing
Review via email: mp+138882@code.launchpad.net

Description of the change

This change fixes the icon names to provide the playlist icon.

The 'playlist-symbolic' icon is used by the playlist submenu entries, and currently it's a missing icon, which provided only by the Ubuntu Mono icon theme. If the used icon theme is different, then this icon is missing. The original icon name 'sound-icon' is not used by Sound menu.

To post a comment you must log in.
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

This would need review from design; there's certainly a reason for why this particular icon name was chosen; and possibly needs to get fixed in themes as well.

I'm assuming this fixes a reported bug in Launchpad. Could you please link to it, so that we can track this and support a possible FFE or SRU?

Thanks!

review: Needs Fixing
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Mathieu, I doubt very much that there was a good reason for the playlist icon to be called "sound-icon". First, it doesn't include the word "playlist", which it obviously should. And second, it includes the word "icon", which is redundant. However, I agree that it would be more reassuring if there was a bug report (with screenshots) demonstrating the problem being fixed here.

Furthermore, it's inappropriate for the menu to be using symbolic icons in the first place. Ideally, it should use the same playlist icons as the music player itself does.

Unmerged revisions

341. By Balló György

Fix icon names to provide the playlist icon

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'configure.ac'
2--- configure.ac 2012-11-13 20:24:30 +0000
3+++ configure.ac 2012-12-09 16:08:22 +0000
4@@ -152,9 +152,9 @@
5 data/Makefile
6 data/icons/Makefile
7 data/icons/16x16/Makefile
8-data/icons/16x16/status/Makefile
9+data/icons/16x16/mimetypes/Makefile
10 data/icons/scalable/Makefile
11-data/icons/scalable/status/Makefile
12+data/icons/scalable/mimetypes/Makefile
13 po/Makefile.in
14 ])
15
16
17=== modified file 'data/icons/16x16/Makefile.am'
18--- data/icons/16x16/Makefile.am 2010-09-13 16:03:36 +0000
19+++ data/icons/16x16/Makefile.am 2012-12-09 16:08:22 +0000
20@@ -1,1 +1,1 @@
21-SUBDIRS = status
22+SUBDIRS = mimetypes
23
24=== added directory 'data/icons/16x16/mimetypes'
25=== added file 'data/icons/16x16/mimetypes/Makefile.am'
26--- data/icons/16x16/mimetypes/Makefile.am 1970-01-01 00:00:00 +0000
27+++ data/icons/16x16/mimetypes/Makefile.am 2012-12-09 16:08:22 +0000
28@@ -0,0 +1,8 @@
29+
30+iconsdir = $(INDICATORICONSDIR)/hicolor/16x16/mimetypes
31+
32+icons_DATA = \
33+ playlist.png
34+
35+EXTRA_DIST = $(icons_DATA)
36+
37
38=== added file 'data/icons/16x16/mimetypes/playlist.png'
39Binary files data/icons/16x16/mimetypes/playlist.png 1970-01-01 00:00:00 +0000 and data/icons/16x16/mimetypes/playlist.png 2012-12-09 16:08:22 +0000 differ
40=== removed directory 'data/icons/16x16/status'
41=== removed file 'data/icons/16x16/status/Makefile.am'
42--- data/icons/16x16/status/Makefile.am 2010-09-13 16:03:36 +0000
43+++ data/icons/16x16/status/Makefile.am 1970-01-01 00:00:00 +0000
44@@ -1,8 +0,0 @@
45-
46-iconsdir = $(INDICATORICONSDIR)/hicolor/16x16/status
47-
48-icons_DATA = \
49- sound-icon.png
50-
51-EXTRA_DIST = $(icons_DATA)
52-
53
54=== removed file 'data/icons/16x16/status/sound-icon.png'
55Binary files data/icons/16x16/status/sound-icon.png 2010-09-13 16:03:36 +0000 and data/icons/16x16/status/sound-icon.png 1970-01-01 00:00:00 +0000 differ
56=== modified file 'data/icons/scalable/Makefile.am'
57--- data/icons/scalable/Makefile.am 2010-09-13 14:56:12 +0000
58+++ data/icons/scalable/Makefile.am 2012-12-09 16:08:22 +0000
59@@ -1,1 +1,1 @@
60-SUBDIRS = status
61+SUBDIRS = mimetypes
62
63=== added directory 'data/icons/scalable/mimetypes'
64=== added file 'data/icons/scalable/mimetypes/Makefile.am'
65--- data/icons/scalable/mimetypes/Makefile.am 1970-01-01 00:00:00 +0000
66+++ data/icons/scalable/mimetypes/Makefile.am 2012-12-09 16:08:22 +0000
67@@ -0,0 +1,8 @@
68+
69+iconsdir = $(INDICATORICONSDIR)/hicolor/scalable/mimetypes
70+
71+icons_DATA = \
72+ playlist.svg
73+
74+EXTRA_DIST = $(icons_DATA)
75+
76
77=== added file 'data/icons/scalable/mimetypes/playlist.svg'
78--- data/icons/scalable/mimetypes/playlist.svg 1970-01-01 00:00:00 +0000
79+++ data/icons/scalable/mimetypes/playlist.svg 2012-12-09 16:08:22 +0000
80@@ -0,0 +1,102 @@
81+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
82+<!-- Created with Inkscape (http://www.inkscape.org/) -->
83+
84+<svg
85+ xmlns:svg="http://www.w3.org/2000/svg"
86+ xmlns="http://www.w3.org/2000/svg"
87+ xmlns:xlink="http://www.w3.org/1999/xlink"
88+ version="1.1"
89+ width="16"
90+ height="16"
91+ id="svg3809">
92+ <defs
93+ id="defs3811">
94+ <linearGradient
95+ x1="28.739122"
96+ y1="144.11652"
97+ x2="26.256771"
98+ y2="125.39074"
99+ id="linearGradient2974"
100+ xlink:href="#linearGradient2372"
101+ gradientUnits="userSpaceOnUse"
102+ gradientTransform="matrix(0.2545239,0,0,0.12875595,6.0849926,-15.173532)" />
103+ <linearGradient
104+ id="linearGradient2372">
105+ <stop
106+ id="stop2374"
107+ style="stop-color:#ffffff;stop-opacity:1"
108+ offset="0" />
109+ <stop
110+ id="stop2376"
111+ style="stop-color:#ffffff;stop-opacity:0.37931034"
112+ offset="1" />
113+ </linearGradient>
114+ <linearGradient
115+ x1="28.739122"
116+ y1="144.11652"
117+ x2="25.400293"
118+ y2="119.86452"
119+ id="linearGradient2977"
120+ xlink:href="#linearGradient2372"
121+ gradientUnits="userSpaceOnUse"
122+ gradientTransform="matrix(0.12649532,0,0,0.12875595,2.1139996,-14.056928)" />
123+ <radialGradient
124+ cx="17.058823"
125+ cy="41.058823"
126+ r="5.7384715"
127+ fx="15.970393"
128+ fy="39.105911"
129+ id="radialGradient2980"
130+ xlink:href="#linearGradient7067-814-120-245"
131+ gradientUnits="userSpaceOnUse"
132+ gradientTransform="matrix(0.3698584,-0.06212313,0,0.35879901,4.6705097,-1.5148309)" />
133+ <linearGradient
134+ id="linearGradient7067-814-120-245">
135+ <stop
136+ id="stop3877"
137+ style="stop-color:#aaaaaa;stop-opacity:1"
138+ offset="0" />
139+ <stop
140+ id="stop3879"
141+ style="stop-color:#4d4d4d;stop-opacity:1"
142+ offset="1" />
143+ </linearGradient>
144+ <radialGradient
145+ cx="17.058823"
146+ cy="41.058823"
147+ r="5.7384715"
148+ fx="15.544384"
149+ fy="39.027378"
150+ id="radialGradient2983"
151+ xlink:href="#linearGradient7067-814-120-245"
152+ gradientUnits="userSpaceOnUse"
153+ gradientTransform="matrix(0.37667571,-0.06311262,0,0.36451394,-2.446246,-0.69065449)" />
154+ </defs>
155+ <g
156+ id="layer1">
157+ <path
158+ d="M 12.887143,11.242639 12.520463,8.2875931"
159+ id="path2931"
160+ style="fill:none;stroke:none" />
161+ <path
162+ d="M 12.862181,0.50107998 C 10.505078,0.88091513 7.3505507,1.2719259 5,1.6729744 4.3775618,1.9766657 4.5174948,2.758676 4.4899572,3.3260967 c 0,2.5319424 0,5.0638848 0,7.5958273 -1.3117262,-0.246608 -2.9113558,0.837273 -2.9807337,2.553424 -0.1132522,1.068438 0.8342068,1.998453 1.8644819,2.023461 1.844664,0.04478 3.1062853,-1.179076 3.1262946,-2.726857 -0.020145,-2.599408 0.00566,-5.1998384 0,-7.7996448 0.2855763,-0.02115 4.61103,-0.8465037 5,-0.901457 0,1.9471472 0,3.8942945 0,5.8414417 -1.146387,-0.2746364 -2.6118971,0.4787211 -2.9752697,2.0172541 -0.15337,0.862385 0.1364969,1.944831 1.0115464,2.309984 1.7082373,0.784936 4.0532683,-0.805037 3.9579313,-2.671065 -0.02646,-3.4661732 0.02169,-6.933764 0,-10.4003066 -0.04486,-0.32575865 -0.265607,-0.69059252 -0.632027,-0.66707842 z"
163+ id="path4031"
164+ style="fill:#4d4d4d;fill-opacity:1;stroke:#333333;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
165+ <path
166+ d="m 5.9735639,12.865117 a 1.7166647,2.0994822 57.095252 0 1 -3.9883314,0.66825 1.7166647,2.0994822 57.095252 0 1 3.9883314,-0.66825 z"
167+ id="path2937"
168+ style="fill:url(#radialGradient2983);fill-opacity:1;stroke:none" />
169+ <path
170+ d="M 12.937933,11.82841 A 1.6885125,2.0629959 56.769744 0 1 9.0217849,12.486184 1.6885125,2.0629959 56.769744 1 1 12.937933,11.82841 z"
171+ id="path2941"
172+ style="fill:url(#radialGradient2980);fill-opacity:1;stroke:none" />
173+ <path
174+ d="M 5.0536869,11.476373 5,2.7939369 c 0,0 0.05877,-0.6637646 0.4947159,-0.6657879 0.1546126,-0.027048 6.9317151,-1.15654738 6.9317151,-1.15654738 0,0 0.132983,0.70947368 -6.0694897,1.62965478 -0.516931,0.077068 -0.76544,0.068481 -0.7627163,0.5583664 0.00735,1.3216244 -0.030358,3.795953 -0.030358,8.6082552 0,0.03443 -0.3254384,-0.243938 -0.5101806,-0.291505 z"
175+ id="path2945"
176+ style="opacity:0.4;fill:url(#linearGradient2977);fill-opacity:1;fill-rule:evenodd;stroke:none" />
177+ <path
178+ d="m 12,10.271349 0.03393,-6.5590211 c 0.357493,-0.0323 0.05489,-0.00519 0.53695,-0.053577 0.0066,1.2251582 2.74e-4,2.2420961 2.74e-4,6.8691941 0,0.03443 -0.199425,-0.209029 -0.571151,-0.256596 z"
179+ id="path2947"
180+ style="opacity:0.4;fill:url(#linearGradient2974);fill-opacity:1;fill-rule:evenodd;stroke:none" />
181+ </g>
182+</svg>
183
184=== removed directory 'data/icons/scalable/status'
185=== removed file 'data/icons/scalable/status/Makefile.am'
186--- data/icons/scalable/status/Makefile.am 2010-09-13 14:56:12 +0000
187+++ data/icons/scalable/status/Makefile.am 1970-01-01 00:00:00 +0000
188@@ -1,8 +0,0 @@
189-
190-iconsdir = $(INDICATORICONSDIR)/hicolor/scalable/status
191-
192-icons_DATA = \
193- sound-icon.svg
194-
195-EXTRA_DIST = $(icons_DATA)
196-
197
198=== removed file 'data/icons/scalable/status/sound-icon.svg'
199--- data/icons/scalable/status/sound-icon.svg 2010-09-13 14:35:13 +0000
200+++ data/icons/scalable/status/sound-icon.svg 1970-01-01 00:00:00 +0000
201@@ -1,102 +0,0 @@
202-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
203-<!-- Created with Inkscape (http://www.inkscape.org/) -->
204-
205-<svg
206- xmlns:svg="http://www.w3.org/2000/svg"
207- xmlns="http://www.w3.org/2000/svg"
208- xmlns:xlink="http://www.w3.org/1999/xlink"
209- version="1.1"
210- width="16"
211- height="16"
212- id="svg3809">
213- <defs
214- id="defs3811">
215- <linearGradient
216- x1="28.739122"
217- y1="144.11652"
218- x2="26.256771"
219- y2="125.39074"
220- id="linearGradient2974"
221- xlink:href="#linearGradient2372"
222- gradientUnits="userSpaceOnUse"
223- gradientTransform="matrix(0.2545239,0,0,0.12875595,6.0849926,-15.173532)" />
224- <linearGradient
225- id="linearGradient2372">
226- <stop
227- id="stop2374"
228- style="stop-color:#ffffff;stop-opacity:1"
229- offset="0" />
230- <stop
231- id="stop2376"
232- style="stop-color:#ffffff;stop-opacity:0.37931034"
233- offset="1" />
234- </linearGradient>
235- <linearGradient
236- x1="28.739122"
237- y1="144.11652"
238- x2="25.400293"
239- y2="119.86452"
240- id="linearGradient2977"
241- xlink:href="#linearGradient2372"
242- gradientUnits="userSpaceOnUse"
243- gradientTransform="matrix(0.12649532,0,0,0.12875595,2.1139996,-14.056928)" />
244- <radialGradient
245- cx="17.058823"
246- cy="41.058823"
247- r="5.7384715"
248- fx="15.970393"
249- fy="39.105911"
250- id="radialGradient2980"
251- xlink:href="#linearGradient7067-814-120-245"
252- gradientUnits="userSpaceOnUse"
253- gradientTransform="matrix(0.3698584,-0.06212313,0,0.35879901,4.6705097,-1.5148309)" />
254- <linearGradient
255- id="linearGradient7067-814-120-245">
256- <stop
257- id="stop3877"
258- style="stop-color:#aaaaaa;stop-opacity:1"
259- offset="0" />
260- <stop
261- id="stop3879"
262- style="stop-color:#4d4d4d;stop-opacity:1"
263- offset="1" />
264- </linearGradient>
265- <radialGradient
266- cx="17.058823"
267- cy="41.058823"
268- r="5.7384715"
269- fx="15.544384"
270- fy="39.027378"
271- id="radialGradient2983"
272- xlink:href="#linearGradient7067-814-120-245"
273- gradientUnits="userSpaceOnUse"
274- gradientTransform="matrix(0.37667571,-0.06311262,0,0.36451394,-2.446246,-0.69065449)" />
275- </defs>
276- <g
277- id="layer1">
278- <path
279- d="M 12.887143,11.242639 12.520463,8.2875931"
280- id="path2931"
281- style="fill:none;stroke:none" />
282- <path
283- d="M 12.862181,0.50107998 C 10.505078,0.88091513 7.3505507,1.2719259 5,1.6729744 4.3775618,1.9766657 4.5174948,2.758676 4.4899572,3.3260967 c 0,2.5319424 0,5.0638848 0,7.5958273 -1.3117262,-0.246608 -2.9113558,0.837273 -2.9807337,2.553424 -0.1132522,1.068438 0.8342068,1.998453 1.8644819,2.023461 1.844664,0.04478 3.1062853,-1.179076 3.1262946,-2.726857 -0.020145,-2.599408 0.00566,-5.1998384 0,-7.7996448 0.2855763,-0.02115 4.61103,-0.8465037 5,-0.901457 0,1.9471472 0,3.8942945 0,5.8414417 -1.146387,-0.2746364 -2.6118971,0.4787211 -2.9752697,2.0172541 -0.15337,0.862385 0.1364969,1.944831 1.0115464,2.309984 1.7082373,0.784936 4.0532683,-0.805037 3.9579313,-2.671065 -0.02646,-3.4661732 0.02169,-6.933764 0,-10.4003066 -0.04486,-0.32575865 -0.265607,-0.69059252 -0.632027,-0.66707842 z"
284- id="path4031"
285- style="fill:#4d4d4d;fill-opacity:1;stroke:#333333;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
286- <path
287- d="m 5.9735639,12.865117 a 1.7166647,2.0994822 57.095252 0 1 -3.9883314,0.66825 1.7166647,2.0994822 57.095252 0 1 3.9883314,-0.66825 z"
288- id="path2937"
289- style="fill:url(#radialGradient2983);fill-opacity:1;stroke:none" />
290- <path
291- d="M 12.937933,11.82841 A 1.6885125,2.0629959 56.769744 0 1 9.0217849,12.486184 1.6885125,2.0629959 56.769744 1 1 12.937933,11.82841 z"
292- id="path2941"
293- style="fill:url(#radialGradient2980);fill-opacity:1;stroke:none" />
294- <path
295- d="M 5.0536869,11.476373 5,2.7939369 c 0,0 0.05877,-0.6637646 0.4947159,-0.6657879 0.1546126,-0.027048 6.9317151,-1.15654738 6.9317151,-1.15654738 0,0 0.132983,0.70947368 -6.0694897,1.62965478 -0.516931,0.077068 -0.76544,0.068481 -0.7627163,0.5583664 0.00735,1.3216244 -0.030358,3.795953 -0.030358,8.6082552 0,0.03443 -0.3254384,-0.243938 -0.5101806,-0.291505 z"
296- id="path2945"
297- style="opacity:0.4;fill:url(#linearGradient2977);fill-opacity:1;fill-rule:evenodd;stroke:none" />
298- <path
299- d="m 12,10.271349 0.03393,-6.5590211 c 0.357493,-0.0323 0.05489,-0.00519 0.53695,-0.053577 0.0066,1.2251582 2.74e-4,2.2420961 2.74e-4,6.8691941 0,0.03443 -0.199425,-0.209029 -0.571151,-0.256596 z"
300- id="path2947"
301- style="opacity:0.4;fill:url(#linearGradient2974);fill-opacity:1;fill-rule:evenodd;stroke:none" />
302- </g>
303-</svg>

Subscribers

People subscribed via source and target branches