[Pkg-privacy-commits] [tails-installer] 23/210: Add some icons

Intrigeri intrigeri at moszumanska.debian.org
Wed May 24 15:26:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to tag 3.90.0
in repository tails-installer.

commit df9a1117cd8a24477af1228e36734ead6333ad69
Author: Martin Briza <mbriza at redhat.com>
Date:   Thu Feb 19 15:57:45 2015 +0100

    Add some icons
---
 data/icon-folder.svg            |  88 ++++++++++++++++++++++++++++++++++++++++
 data/logo-color-cloud.png       | Bin 0 -> 14735 bytes
 data/logo-color-server.png      | Bin 0 -> 12128 bytes
 data/logo-color-workstation.png | Bin 0 -> 13942 bytes
 liveusb/gui.py                  |  10 ++++-
 5 files changed, 97 insertions(+), 1 deletion(-)

diff --git a/data/icon-folder.svg b/data/icon-folder.svg
new file mode 100644
index 0000000..6505cdf
--- /dev/null
+++ b/data/icon-folder.svg
@@ -0,0 +1,88 @@
+<?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="48"
+   height="48"
+   viewBox="0 0 48.000001 48.000001"
+   id="svg7843"
+   version="1.1"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="folder.svg">
+  <defs
+     id="defs7845" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1"
+     inkscape:cx="37.958031"
+     inkscape:cy="10.766613"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     units="px"
+     borderlayer="true"
+     inkscape:showpageshadow="false"
+     inkscape:snap-bbox="true"
+     inkscape:bbox-paths="true"
+     inkscape:snap-nodes="false"
+     inkscape:snap-bbox-edge-midpoints="true"
+     inkscape:bbox-nodes="true"
+     inkscape:window-width="2560"
+     inkscape:window-height="1403"
+     inkscape:window-x="2560"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1">
+    <inkscape:grid
+       type="xygrid"
+       id="grid8399" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata7848">
+    <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></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-1004.3622)">
+    <g
+       id="g8401"
+       transform="translate(-0.01401633,0.09419463)">
+      <rect
+         ry="23.5"
+         rx="23.5"
+         y="1004.768"
+         x="0.51401633"
+         height="47"
+         width="47"
+         id="rect37310"
+         style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#babdb6;fill-opacity:1;stroke:#888a85;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:new" />
+      <path
+         inkscape:connector-curvature="0"
+         style="display:inline;fill:#ffffff;fill-opacity:1;stroke:none"
+         d="m 16.545267,1021.2678 c -0.28913,0 -0.53125,0.2421 -0.53125,0.5312 l 0,13.9376 c 0,0.2985 0.23264,0.5312 0.53125,0.5312 l 14.937503,0 c 0.2986,0 0.53125,-0.2326 0.53125,-0.5312 l 0,-8.9376 c 0,-0.2891 -0.24212,-0.5312 -0.53125,-0.5312 l -12.46875,0 0,7.5 c 0,0.277 -0.223,0.5 -0.5,0.5 -0.277003,0 -0.500003,-0.223 -0.500003,-0.5 l 0,-8 c 0,-0.277 0.223,-0.5 0.500003,-0.5 l 2.96875,0 8.53125,0 0,-1.4062 c 0,-0.3272 -0.26666,-0.5938 -0.59375,-0.5938 l -7.40625,0 0,-1.4688 c 0,-0. [...]
+         id="rect3845"
+         sodipodi:nodetypes="ccccccccccsccccccccccc" />
+    </g>
+  </g>
+</svg>
diff --git a/data/logo-color-cloud.png b/data/logo-color-cloud.png
new file mode 100644
index 0000000..30781d7
Binary files /dev/null and b/data/logo-color-cloud.png differ
diff --git a/data/logo-color-server.png b/data/logo-color-server.png
new file mode 100644
index 0000000..f242a63
Binary files /dev/null and b/data/logo-color-server.png differ
diff --git a/data/logo-color-workstation.png b/data/logo-color-workstation.png
new file mode 100644
index 0000000..7b0ef24
Binary files /dev/null and b/data/logo-color-workstation.png differ
diff --git a/liveusb/gui.py b/liveusb/gui.py
index dad0e1f..1e36beb 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -83,6 +83,14 @@ class Release(QObject):
         self._hasDetails = hasDetails
         self._screenshots = screenshots
 
+        if self._logo == '':
+            if self._name == 'Fedora Workstation':
+                self._logo = '../../data/logo-color-workstation.png'
+            if self._name == 'Fedora Server':
+                self._logo = '../../data/logo-color-server.png'
+            if self._name == 'Fedora Cloud':
+                self._logo = '../../data/logo-color-cloud.png'
+
     @pyqtProperty(str, notify=nameChanged)
     def name(self):
         return self._name
@@ -130,7 +138,7 @@ class LiveUSBData(QObject):
     def __init__(self, opts):
         QObject.__init__(self)
         self.live = LiveUSBCreator(opts=opts)
-        self.releaseData = [Release(self, name='Custom OS...', shortDescription='<pick from file chooser>', fullDescription='Here you can choose a OS image from your hard drive to be written to your flash disk', hasDetails=False)]
+        self.releaseData = [Release(self, name='Custom OS...', shortDescription='<pick from file chooser>', fullDescription='Here you can choose a OS image from your hard drive to be written to your flash disk', hasDetails=False, logo='../../data/icon-folder.svg')]
         for release in releases:
             self.releaseData.append(Release(self,
                                             name='Fedora '+release['variant'],

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list