summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/01_details-Use-custom-icon-for-verified-developers.patch55
-rw-r--r--debian/patches/series1
2 files changed, 56 insertions, 0 deletions
diff --git a/debian/patches/01_details-Use-custom-icon-for-verified-developers.patch b/debian/patches/01_details-Use-custom-icon-for-verified-developers.patch
new file mode 100644
index 0000000..5f79360
--- /dev/null
+++ b/debian/patches/01_details-Use-custom-icon-for-verified-developers.patch
@@ -0,0 +1,55 @@
+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 4efe369..9f897a5 100644
+--- a/src/gnome-software.gresource.xml
++++ b/src/gnome-software.gresource.xml
+@@ -54,6 +54,7 @@
+ <file>style.css</file>
+ <file>style-dark.css</file>
+ <file>style-hc.css</file>
++ <file preprocess="xml-stripblanks">developer-verified.svg</file>
+ <file preprocess="xml-stripblanks" alias="up-to-date.svg">../data/assets/up-to-date.svg</file>
+ <file preprocess="xml-stripblanks" alias="icons/scalable/apps/system-component-addon.svg">../data/icons/system-component-addon.svg</file>
+ <file preprocess="xml-stripblanks" alias="icons/scalable/apps/system-component-application.svg">../data/icons/system-component-application.svg</file>
+diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
+index d3fad10..37c657b 100644
+--- a/src/gs-details-page.ui
++++ b/src/gs-details-page.ui
+@@ -173,7 +173,7 @@
+ <child>
+ <object class="GtkImage" id="developer_verified_image">
+ <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>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1621570
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_details-Use-custom-icon-for-verified-developers.patch