transmission/gtk/icons/hicolor_apps_symbolic_trans...

25 lines
2.1 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16px" height="16px" viewBox="0 0 16 16" version="1.1">
<defs>
<filter id="alpha" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
<feColorMatrix type="matrix" in="SourceGraphic" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
</filter>
<mask id="mask0">
<g filter="url(#alpha)">
<rect x="0" y="0" width="16" height="16" style="fill:rgb(0%,0%,0%);fill-opacity:0.15;stroke:none;"/>
gtk: add symbolic icon The -symbolic icon variant (if available) is used in the GNOME top bar, and when the high contrast theme is in use. This icon was created by Jakub Steiner, and comes from the gnome-icons repository: https://github.com/gnome-design-team/gnome-icons/blob/master/apps-symbolic/Adwaita/scalable/apps/transmission-symbolic.svg https://bugzilla.redhat.com/show_bug.cgi?id=1221292 There is some confusion over whether symbolic app icons should be installed to icons/hicolor/scalable/apps (alongside the regular scalable icon) or to icons/hicolor/symbolic/apps. On the one hand, https://wiki.gnome.org/Initiatives/GnomeGoals/HighContrastAppIcons has this to say: > […] obtain a suitable symbolic style icon […] and install it to the > hicolor prefix, the same way you would for the full color variant. > > cp myapp-symbolic.svg /usr/share/icons/hicolor/scalable/apps/myapp-symbolic.svg On the other hand, the Fedora package at https://src.fedoraproject.org/rpms/transmission/blob/master/f/transmission.spec ships this icon in icons/hicolor/symbolic/apps: > # Install the symbolic icon > mkdir -p %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps > cp %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/transmission-symbolic.svg Anecdotally, icons in scalable/ have minimum size 64×64 on openSUSE, so symbolic/ is the safer location (given the GNOME top bar uses 32×32 icons). This has the advantage of matching the location used in the distribution which already ships this file. https://github.com/transmission/transmission/issues/414
2017-11-30 16:41:39 +00:00
</g>
</mask>
<clipPath id="clip1">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10347" clip-path="url(#clip1)">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 36.976562 79.621094 L 41.335938 83.976562 L 56.695312 83.976562 L 56.695312 79.621094 Z M 87.160156 79.621094 L 87.160156 83.976562 L 102.382812 83.976562 L 106.746094 79.621094 Z M 87.160156 79.621094 "/>
</g>
</defs>
<g id="surface10333">
<use xlink:href="#surface10347" transform="matrix(1,0,0,1,-168,-16)" mask="url(#mask0)"/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(14.117648%,12.156863%,19.215687%);fill-opacity:1;" d="M 2 6.546875 L 2 14.003906 C 2 14.554688 2.515625 15 3 15 L 13 15 C 13.511719 15 14 14.644531 14 14.003906 L 14 6.550781 C 12.640625 6.769531 11.308594 6.914062 10 7 L 10 10 L 12 10 L 8 14 L 4 10 L 6 10 L 6 7.035156 C 4.636719 6.964844 3.304688 6.808594 2.011719 6.550781 C 2.007812 6.550781 2.003906 6.550781 2 6.550781 Z M 2 6.546875 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(14.117648%,12.156863%,19.215687%);fill-opacity:1;" d="M 10 1.054688 L 10 5.960938 C 11.308594 5.875 12.640625 5.863281 14 5.644531 C 14.546875 5.558594 15 5.171875 15 4.582031 L 15 2.367188 C 15 1.777344 14.542969 1.398438 14 1.300781 C 12.636719 1.050781 11.308594 1.128906 10 1.054688 Z M 6 1.0625 C 4.648438 1.144531 3.320312 1.078125 2.011719 1.300781 C 1.464844 1.394531 1.011719 1.777344 1.011719 2.367188 L 1.011719 4.582031 C 1.011719 5.171875 1.46875 5.539062 2.011719 5.644531 C 3.304688 5.902344 4.636719 5.921875 6 5.996094 Z M 6 1.0625 "/>
</g>
gtk: add symbolic icon The -symbolic icon variant (if available) is used in the GNOME top bar, and when the high contrast theme is in use. This icon was created by Jakub Steiner, and comes from the gnome-icons repository: https://github.com/gnome-design-team/gnome-icons/blob/master/apps-symbolic/Adwaita/scalable/apps/transmission-symbolic.svg https://bugzilla.redhat.com/show_bug.cgi?id=1221292 There is some confusion over whether symbolic app icons should be installed to icons/hicolor/scalable/apps (alongside the regular scalable icon) or to icons/hicolor/symbolic/apps. On the one hand, https://wiki.gnome.org/Initiatives/GnomeGoals/HighContrastAppIcons has this to say: > […] obtain a suitable symbolic style icon […] and install it to the > hicolor prefix, the same way you would for the full color variant. > > cp myapp-symbolic.svg /usr/share/icons/hicolor/scalable/apps/myapp-symbolic.svg On the other hand, the Fedora package at https://src.fedoraproject.org/rpms/transmission/blob/master/f/transmission.spec ships this icon in icons/hicolor/symbolic/apps: > # Install the symbolic icon > mkdir -p %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps > cp %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/transmission-symbolic.svg Anecdotally, icons in scalable/ have minimum size 64×64 on openSUSE, so symbolic/ is the safer location (given the GNOME top bar uses 32×32 icons). This has the advantage of matching the location used in the distribution which already ships this file. https://github.com/transmission/transmission/issues/414
2017-11-30 16:41:39 +00:00
</svg>