Backport a patch to add shadows to app icons
This commit is contained in:
parent
65579d4128
commit
0e66034692
62
0001-app-row-Add-shadow-to-app-icons.patch
Normal file
62
0001-app-row-Add-shadow-to-app-icons.patch
Normal file
@ -0,0 +1,62 @@
|
||||
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
|
||||
|
@ -20,13 +20,16 @@
|
||||
|
||||
Name: gnome-software
|
||||
Version: 3.32.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A software center for GNOME
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://wiki.gnome.org/Apps/Software
|
||||
Source0: https://download.gnome.org/sources/gnome-software/3.32/%{name}-%{version}.tar.xz
|
||||
|
||||
# Backported from upstream
|
||||
Patch0: 0001-app-row-Add-shadow-to-app-icons.patch
|
||||
|
||||
%if 0%{?bundled_libdnf}
|
||||
# libdnf is bundled to be able to match the exact same version that the
|
||||
# rpm-ostree package bundles. This is only used for the rpm-ostree backend.
|
||||
@ -286,6 +289,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
%{_mandir}/man1/gnome-software-editor.1*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 12 2019 Kalev Lember <klember@redhat.com> - 3.32.0-2
|
||||
- Backport a patch to add shadows to app icons
|
||||
|
||||
* Mon Mar 11 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1
|
||||
- Update to 3.32.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user