gnome-software/0001-app-row-Add-shadow-to-app-icons.patch
2019-03-12 19:45:23 +01:00

63 lines
2.1 KiB
Diff

From f1431bea906a2059169019c8cc4c80d208ce8d6f Mon Sep 17 00:00:00 2001
From: Felipe Borges <felipeborges@gnome.org>
Date: Tue, 12 Mar 2019 12:56:48 +0100
Subject: [PATCH] app row: Add shadow to app icons
The new GNOME application icons require shadows when placed on a
light background.
See https://gitlab.gnome.org/GNOME/Initiatives/issues/2
Fixes #573
---
src/gs-app-row.ui | 3 +++
src/gs-details-page.ui | 3 +++
src/gs-first-run-dialog.ui | 3 +++
3 files changed, 9 insertions(+)
diff --git a/src/gs-app-row.ui b/src/gs-app-row.ui
index c381e24ad..69da51935 100644
--- a/src/gs-app-row.ui
+++ b/src/gs-app-row.ui
@@ -25,6 +25,9 @@
<property name="pixel_size">64</property>
<property name="margin_start">24</property>
<property name="valign">center</property>
+ <style>
+ <class name="icon-dropshadow"/>
+ </style>
</object>
</child>
<child>
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index 40814e2d7..a3c4b94e9 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -74,6 +74,9 @@
<property name="halign">start</property>
<property name="valign">start</property>
<property name="pixel_size">96</property>
+ <style>
+ <class name="icon-dropshadow"/>
+ </style>
</object>
</child>
<child>
diff --git a/src/gs-first-run-dialog.ui b/src/gs-first-run-dialog.ui
index 823fc535d..3861bd823 100644
--- a/src/gs-first-run-dialog.ui
+++ b/src/gs-first-run-dialog.ui
@@ -32,6 +32,9 @@
<property name="visible">True</property>
<property name="pixel_size">128</property>
<property name="icon_name">org.gnome.Software</property>
+ <style>
+ <class name="icon-dropshadow"/>
+ </style>
</object>
</child>
<child>
--
2.21.0