blob: 09ca5483fecee9056974bfa5f5078ea99c3e2036 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
From: Robert Ancell <robert.ancell@canonical.com>
Date: Tue, 28 Aug 2018 12:43:15 +1200
Subject: [PATCH 21/24] details: Use custom icon for verified developers
---
src/developer-verified.svg | 12 ++++++++++++
src/gnome-software.gresource.xml | 1 +
src/gs-details-page.ui | 2 +-
3 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 src/developer-verified.svg
diff --git a/src/developer-verified.svg b/src/developer-verified.svg
new file mode 100644
index 0000000..57c0f11
--- /dev/null
+++ b/src/developer-verified.svg
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg" height="12px" width="12px" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 12 12"><!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
+ <title>path6490</title>
+ <desc>Created with Sketch.</desc>
+ <g id="misc" fill-rule="evenodd" fill="none">
+ <g id="Artboard" fill-rule="nonzero" fill="#82BEA0" transform="translate(-419 -444)">
+ <g id="VALIDATED--SNAPCRAFTER-ICON" transform="translate(419 444)">
+ <path id="path6490" d="m5.0239 0.38296l-0.4325 0.40107c-0.3507 0.32527-0.8065 0.51407-1.2846 0.53217l-0.5886 0.0222c-0.75 0.0283-1.3515 0.6298-1.3798 1.3798l-0.0222 0.5886c-0.0181 0.4781-0.2069 0.9339-0.53217 1.2846l-0.40107 0.4325c-0.51061 0.5506-0.51061 1.4016 0 1.9522l0.40107 0.4325c0.32527 0.3507 0.51407 0.8065 0.53217 1.2846l0.0222 0.5886c0.0283 0.7502 0.6298 1.3512 1.3798 1.3802l0.5886 0.022c0.4781 0.018 0.9339 0.207 1.2846 0.532l0.4325 0.401c0.5506 0.511 1.4016 0.511 1.9522 0l0.4325-0.401c0.3507-0.325 0.8065-0.514 1.2846-0.532l0.5886-0.022c0.7502-0.029 1.3512-0.63 1.3802-1.3802l0.022-0.5886c0.018-0.4781 0.207-0.9339 0.532-1.2846l0.401-0.4325c0.511-0.5506 0.511-1.4016 0-1.9522l-0.401-0.4325c-0.325-0.3507-0.514-0.8065-0.532-1.2846l-0.022-0.5886c-0.029-0.75-0.63-1.3515-1.3802-1.3798l-0.5886-0.0222c-0.4781-0.0181-0.9339-0.2069-1.2846-0.53217l-0.4325-0.40107c-0.5506-0.51061-1.4016-0.51061-1.9522 0zm3.3697 3.1711l0.8675 0.8565-4.2062 4.2411-2.316-2.3398 0.8611-0.8549 1.4549 1.4659 3.3387-3.3688z"/>
+ </g>
+ </g>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/src/gnome-software.gresource.xml b/src/gnome-software.gresource.xml
index 459ecf8..283cf35 100644
--- a/src/gnome-software.gresource.xml
+++ b/src/gnome-software.gresource.xml
@@ -38,5 +38,6 @@
<file preprocess="xml-stripblanks">org.freedesktop.PackageKit.xml</file>
<file>gtk-style.css</file>
<file>gtk-style-hc.css</file>
+ <file>developer-verified.svg</file>
</gresource>
</gresources>
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index f86674f..b6cba9e 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -948,7 +948,7 @@
<object class="GtkImage" id="image_details_developer_verified">
<property name="visible">True</property>
<property name="pixel_size">16</property>
- <property name="icon_name">emblem-ok-symbolic</property>
+ <property name="resource">/org/gnome/Software/developer-verified.svg</property>
</object>
</child>
</object>
|