Added fallback highlight icons patch

This commit is contained in:
jolupa 2019-09-05 02:08:09 +02:00
parent 2e9ab603aa
commit 83b090dc1d
3 changed files with 40 additions and 4 deletions

View File

@ -1,5 +1,6 @@
untrusted comment: verify with /etc/ports/jolupalabs.pub
RWRdPtfuMX7+XEx0IA5zNwGNQiZ/8gbdKzlhkgywhpJNzwCHix3NRf+V8qrwhAGx9HmBPqxb4kGi0TpqE7onJO/u+wDv38z96Qk=
SHA256 (Pkgfile) = 639dd8e1f138ecc0b5fbc5dae259d62512c64339553a47fe62298d2702d33aad
RWRdPtfuMX7+XBj3ybuhggYdaPgZaIZ5qX7a3dGF3hwY8/dKufKi5k3AdtcsLSLds1+0/Nqhe+StiCgxnIGL8l69hv3E+SoddQY=
SHA256 (Pkgfile) = 43be07d86244b95354dfb45531390540f303f0b87522b6728c61114d824ceeaf
SHA256 (.footprint) = c449525e49969f00f28d43ce7b3a0457f87ea63979cbb4013f3ed40c3edc3e60
SHA256 (xfdesktop-4.14.1.tar.gz) = 2ceb42197b3886ec8ec5b5617e8aaa5a3b1a7854735a115df1560f45ad7df7a1
SHA256 (patch_1.patch) = df140ff27577b39c560314f54de14df2f084291d502baa4e1c055b643955477e

View File

@ -5,13 +5,15 @@
name=xfdesktop
version=4.14.1
release=1
source=(https://git.xfce.org/xfce/$name/snapshot/$name-$version.tar.gz)
release=2
source=(https://git.xfce.org/xfce/$name/snapshot/$name-$version.tar.gz patch_1.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/patch_1.patch
./autogen.sh \
--prefix=/usr \
--libexecdir=/usr/lib/$name \

33
xfdesktop/patch_1.patch Normal file
View File

@ -0,0 +1,33 @@
From 70c470b089b02da5e344a0a200acb3f66a388364 Mon Sep 17 00:00:00 2001
From: Andre Miranda <andreldm@xfce.org>
Date: Sun, 25 Aug 2019 18:37:51 -0300
Subject: fallback style: Highlight selected icons (Bug #15866)
---
src/xfdesktop-application.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/xfdesktop-application.c b/src/xfdesktop-application.c
index 539266a8..b655ca32 100644
--- a/src/xfdesktop-application.c
+++ b/src/xfdesktop-application.c
@@ -150,10 +150,16 @@ const gchar *fallback_CSS =
"XfdesktopIconView.view .label {"
" text-shadow: 1px 1px 2px black;"
"}"
+"XfdesktopIconView.view .label:active {"
+" color: @theme_selected_fg_color;"
+"}"
"XfdesktopIconView .rubberband {"
" background: alpha(@theme_selected_bg_color, 0.2);"
" border: 1px solid @theme_selected_bg_color;"
" border-radius: 0;"
+"}"
+"XfdesktopIconView:active {"
+" color: @theme_selected_bg_color;"
"}";
G_DEFINE_TYPE(XfdesktopApplication, xfdesktop_application, G_TYPE_APPLICATION)
--
cgit v1.2.1