[kde-doc-english] [trojita] src: GUI: Use Breeze's red icon from the Plasma panel when offline

Jan Kundrát jkt at kde.org
Tue Oct 6 18:11:43 UTC 2015


Git commit aff95e266f1f3e0162e11419443fbbdb615eb455 by Jan Kundrát.
Committed on 01/10/2015 at 10:22.
Pushed by gerrit into branch 'master'.

GUI: Use Breeze's red icon from the Plasma panel when offline

The icon is copied from breeze/status/panel/network-disconnect.svg
because it's an icon which is a private thing intended to be used by the
Plasma shell. I do not think that I can persuade the QIcon::fromTheme to
use a particular icon from a particular directory.

Change-Id: I1b3cf14a068d8aef2ff259fa0439e87d224da0a1
CCBUG: 353369

M  +1    -0    src/icons.qrc
A  +104  -0    src/icons/breeze/network-disconnect.svg

http://commits.kde.org/trojita/aff95e266f1f3e0162e11419443fbbdb615eb455

diff --git a/src/icons.qrc b/src/icons.qrc
index 7a378ae..36a454e 100644
--- a/src/icons.qrc
+++ b/src/icons.qrc
@@ -53,5 +53,6 @@
         <file>icons/breeze/mail-reply-list.svg</file>
         <file>icons/breeze/mail-reply-all.svg</file>
         <file>icons/breeze/mail-forward.svg</file>
+        <file>icons/breeze/network-disconnect.svg</file>
     </qresource>
 </RCC>
diff --git a/src/icons/breeze/network-disconnect.svg b/src/icons/breeze/network-disconnect.svg
new file mode 100644
index 0000000..32836c6
--- /dev/null
+++ b/src/icons/breeze/network-disconnect.svg
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="22"
+   height="22"
+   id="svg3869"
+   version="1.1"
+   inkscape:version="0.91+devel r"
+   sodipodi:docname="network-disconnect.svg">
+  <defs
+     id="defs3871" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="22.627416"
+     inkscape:cx="12.583803"
+     inkscape:cy="12.079155"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:window-width="1366"
+     inkscape:window-height="670"
+     inkscape:window-x="-4"
+     inkscape:window-y="29"
+     inkscape:window-maximized="1"
+     inkscape:showpageshadow="false">
+    <inkscape:grid
+       type="xygrid"
+       id="grid4132" />
+    <sodipodi:guide
+       position="2,20.000017"
+       orientation="18,0"
+       id="guide4138" />
+    <sodipodi:guide
+       position="2,2.0000174"
+       orientation="0,18"
+       id="guide4140" />
+    <sodipodi:guide
+       position="20,18"
+       orientation="-18,0"
+       id="guide4142" />
+    <sodipodi:guide
+       position="20,20.000017"
+       orientation="0,-18"
+       id="guide4144" />
+    <sodipodi:guide
+       position="3,19.000017"
+       orientation="16,0"
+       id="guide4147" />
+    <sodipodi:guide
+       position="3,3.0000174"
+       orientation="0,16"
+       id="guide4149" />
+    <sodipodi:guide
+       position="19,3.0000174"
+       orientation="-16,0"
+       id="guide4151" />
+    <sodipodi:guide
+       position="19,19.000017"
+       orientation="0,-16"
+       id="guide4153" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata3874">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Capa 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-326,-534.3622)">
+    <path
+       style="opacity:1;fill:#da4453;fill-opacity:1;stroke:none"
+       d="m 3,3 0,12 6,0 0,1 1,0 0,-1 2,0 0,1 1,0 0,-1 6,0 0,-12 z m 1,1 14,0 0,10 -14,0 z m 11,2 0,1 2,0 0,-1 z m -12,11 0,1 6,0 0,-1 z m 10,0 0,1 6,0 0,-1 z m -3,1 0,1 2,0 0,-1 z"
+       transform="translate(326,534.3622)"
+       id="rect4144"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccc" />
+  </g>
+</svg>


More information about the kde-doc-english mailing list