fixed lyrics and genre icons

This commit is contained in:
Martin Wagner 2021-10-20 22:42:58 +02:00
parent 7952a666f1
commit 0d027d375d
3 changed files with 9 additions and 149 deletions

View File

@ -3025,7 +3025,7 @@ class CoverLyricsWindow(Gtk.Overlay):
# lyrics button # lyrics button
self.lyrics_button=Gtk.ToggleButton( self.lyrics_button=Gtk.ToggleButton(
image=Gtk.Image.new_from_icon_name("media-view-subtitles-symbolic", Gtk.IconSize.BUTTON), image=Gtk.Image.new_from_icon_name("org.mpdevil.mpdevil-lyrics-symbolic", Gtk.IconSize.BUTTON),
tooltip_text=_("Show lyrics") tooltip_text=_("Show lyrics")
) )
self.lyrics_button.set_can_focus(False) self.lyrics_button.set_can_focus(False)

View File

@ -1,150 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<svg width="16px" height="16px" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> <!-- Created with Inkscape (http://www.inkscape.org/) -->
<filter id="a" x="0" y="0" width="1" height="1"> <svg width="16" height="16" version="1.1" viewBox="0 0 4.2333 4.2333" xmlns="http://www.w3.org/2000/svg">
<feColorMatrix in="SourceGraphic" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/> <path d="m0.79375 0.52917a0.26458 0.26458 0 0 0-0.26458 0.26458v1.3229l1.5875 1.5875 1.5875-1.5875-1.5875-1.5875zm0.52917 0.52917a0.26458 0.26458 0 0 1 0.26458 0.26458 0.26458 0.26458 0 0 1-0.26458 0.26458 0.26458 0.26458 0 0 1-0.26458-0.26458 0.26458 0.26458 0 0 1 0.26458-0.26458z" fill="#2e3436" stroke-linecap="round" stroke-width=".74448"/>
</filter>
<mask id="b">
<g filter="url(#a)">
<path d="m0 0h16v16h-16z" fill-opacity=".3"/>
</g>
</mask>
<clipPath id="c">
<path d="m0 0h1024v800h-1024z"/>
</clipPath>
<mask id="d">
<g filter="url(#a)">
<path d="m0 0h16v16h-16z" fill-opacity=".05"/>
</g>
</mask>
<clipPath id="e">
<path d="m0 0h1024v800h-1024z"/>
</clipPath>
<mask id="f">
<g filter="url(#a)">
<path d="m0 0h16v16h-16z" fill-opacity=".05"/>
</g>
</mask>
<clipPath id="g">
<path d="m0 0h1024v800h-1024z"/>
</clipPath>
<mask id="h">
<g filter="url(#a)">
<path d="m0 0h16v16h-16z" fill-opacity=".05"/>
</g>
</mask>
<clipPath id="i">
<path d="m0 0h1024v800h-1024z"/>
</clipPath>
<mask id="j">
<g filter="url(#a)">
<path d="m0 0h16v16h-16z" fill-opacity=".05"/>
</g>
</mask>
<clipPath id="k">
<path d="m0 0h1024v800h-1024z"/>
</clipPath>
<mask id="l">
<g filter="url(#a)">
<path d="m0 0h16v16h-16z" fill-opacity=".05"/>
</g>
</mask>
<clipPath id="m">
<path d="m0 0h1024v800h-1024z"/>
</clipPath>
<mask id="n">
<g filter="url(#a)">
<path d="m0 0h16v16h-16z" fill-opacity=".05"/>
</g>
</mask>
<clipPath id="o">
<path d="m0 0h1024v800h-1024z"/>
</clipPath>
<mask id="p">
<g filter="url(#a)">
<path d="m0 0h16v16h-16z" fill-opacity=".3"/>
</g>
</mask>
<clipPath id="q">
<path d="m0 0h1024v800h-1024z"/>
</clipPath>
<mask id="r">
<g filter="url(#a)">
<path d="m0 0h16v16h-16z" fill-opacity=".5"/>
</g>
</mask>
<clipPath id="s">
<path d="m0 0h1024v800h-1024z"/>
</clipPath>
<mask id="t">
<g filter="url(#a)">
<path d="m0 0h16v16h-16z" fill-opacity=".4"/>
</g>
</mask>
<clipPath id="u">
<path d="m0 0h1024v800h-1024z"/>
</clipPath>
<mask id="v">
<g filter="url(#a)">
<path d="m0 0h16v16h-16z" fill-opacity=".4"/>
</g>
</mask>
<clipPath id="w">
<path d="m0 0h1024v800h-1024z"/>
</clipPath>
<mask id="x">
<g filter="url(#a)">
<path d="m0 0h16v16h-16z" fill-opacity=".5"/>
</g>
</mask>
<clipPath id="y">
<path d="m0 0h1024v800h-1024z"/>
</clipPath>
<mask id="z">
<g filter="url(#a)">
<path d="m0 0h16v16h-16z" fill-opacity=".5"/>
</g>
</mask>
<clipPath id="A">
<path d="m0 0h1024v800h-1024z"/>
</clipPath>
<path d="m2 2.867v5.2021l5.8015 5.8015c0.16256 0.16256 0.359 0.17611 0.51817 0.01694l5.534-5.534c0.19304-0.19305 0.1795-0.38948 0.01693-0.55204l-5.8015-5.8015h-5.2021c-0.40303 0-0.86701 0.42673-0.86701 0.86701zm2.601 0.83314c0.5114 0 0.92797 0.41657 0.92797 0.92797s-0.41657 0.92797-0.92797 0.92797c-0.5114 0-0.92797-0.41657-0.92797-0.92797s0.41657-0.92797 0.92797-0.92797z" fill="#2e3436" stroke-width=".86701"/>
<g transform="translate(-640 -624)" clip-path="url(#c)" mask="url(#b)">
<path d="m562.46 212.06h10.449c-1.1836 0.49219-1.2969 2.4609 0 3h-10.449z" fill="#2e3436"/>
</g>
<g transform="translate(-640 -624)" clip-path="url(#e)" mask="url(#d)">
<path d="m16 632h1v1h-1z" fill="#2e3436" fill-rule="evenodd"/>
</g>
<g transform="translate(-640 -624)" clip-path="url(#g)" mask="url(#f)">
<path d="m17 631h1v1h-1z" fill="#2e3436" fill-rule="evenodd"/>
</g>
<g transform="translate(-640 -624)" clip-path="url(#i)" mask="url(#h)">
<path d="m18 634h1v1h-1z" fill="#2e3436" fill-rule="evenodd"/>
</g>
<g transform="translate(-640 -624)" clip-path="url(#k)" mask="url(#j)">
<path d="m16 634h1v1h-1z" fill="#2e3436" fill-rule="evenodd"/>
</g>
<g transform="translate(-640 -624)" clip-path="url(#m)" mask="url(#l)">
<path d="m17 635h1v1h-1z" fill="#2e3436" fill-rule="evenodd"/>
</g>
<g transform="translate(-640 -624)" clip-path="url(#o)" mask="url(#n)">
<path d="m19 635h1v1h-1z" fill="#2e3436" fill-rule="evenodd"/>
</g>
<g transform="translate(-640 -624)" clip-path="url(#q)" mask="url(#p)">
<path d="m136 660v7h7v-7z" fill="#2e3436"/>
</g>
<g transform="translate(-640 -624)" clip-path="url(#s)" mask="url(#r)">
<path d="m199 642h3v12h-3z" fill="#2e3436"/>
</g>
<g transform="translate(-640 -624)" clip-path="url(#u)" mask="url(#t)">
<path d="m209.5 144.16c0.27734 0 0.5 0.22266 0.5 0.5v1c0 0.27734-0.22266 0.5-0.5 0.5s-0.5-0.22266-0.5-0.5v-1c0-0.27734 0.22266-0.5 0.5-0.5z" fill="#2e3436"/>
</g>
<g transform="translate(-640 -624)" clip-path="url(#w)" mask="url(#v)">
<path d="m206.5 144.16c0.27734 0 0.5 0.22266 0.5 0.5v1c0 0.27734-0.22266 0.5-0.5 0.5s-0.5-0.22266-0.5-0.5v-1c0-0.27734 0.22266-0.5 0.5-0.5z" fill="#2e3436"/>
</g>
<g transform="translate(-640 -624)" clip-path="url(#y)" mask="url(#x)">
<path d="m229.5 143.16c-0.54688 0-1 0.45703-1 1 0 0.54688 0.45312 1 1 1s1-0.45312 1-1c0-0.54297-0.45312-1-1-1z" fill="#2e3436"/>
</g>
<g transform="translate(-640 -624)" clip-path="url(#A)" mask="url(#z)">
<path d="m226.45 143.16c-0.51953 0-0.95312 0.43359-0.95312 0.95312v0.09375c0 0.51953 0.43359 0.95312 0.95312 0.95312h0.09375c0.51953 0 0.95312-0.43359 0.95312-0.95312v-0.09375c0-0.51953-0.43359-0.95312-0.95312-0.95312z" fill="#2e3436"/>
</g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 557 B

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg width="16" height="16" version="1.1" viewBox="0 0 4.2333 4.2333" xmlns="http://www.w3.org/2000/svg">
<path transform="scale(.26458)" d="m1 1v2h8v-2h-8zm12 0v8.1719a3 3 0 0 0-1-0.17188 3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3v-11h-2zm-12 4v2h10v-2h-10zm0 4v2h6v-2h-6zm0 4v2h6v-2h-6z" fill="#2e3436" stroke-linecap="round" stroke-width=".99391"/>
</svg>

After

Width:  |  Height:  |  Size: 456 B