Skip to content

Commit

Permalink
kde-misc/colord-kde: Use more appropriate icon
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Jan 12, 2020
1 parent f65c32c commit 17e2439
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kde-misc/colord-kde/colord-kde-0.5.0-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ RDEPEND="${COMMON_DEPEND}
x11-misc/colord
"

PATCHES=( "${WORKDIR}/${P}-patches" )
PATCHES=(
"${WORKDIR}/${P}-patches"
"${FILESDIR}/${P}-icon.patch"
)

pkg_postinst() {
ecm_pkg_postinst
Expand Down
38 changes: 38 additions & 0 deletions kde-misc/colord-kde/files/colord-kde-0.5.0-icon.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
From 7ea14bbaf6b0e923496cb5e50dfcd5068c7858c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Feber?= <[email protected]>
Date: Sun, 30 Jun 2019 17:50:38 +0200
Subject: [colord-kde] Use more appropriate icon, because the activities icon
got changed

Summary:
Use a more appopriate icon, because the activities icon got changed in D22155.
{F6948366}

Test Plan: Open the Color Corrections KCM.

Reviewers: #plasma, #vdg, ndavis

Reviewed By: #vdg, ndavis

Subscribers: #vdg, #plasma

Differential Revision: https://phabricator.kde.org/D22171
---
colord-kcm/ColordKCM.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/colord-kcm/ColordKCM.cpp b/colord-kcm/ColordKCM.cpp
index f14b4a9..fffbf54 100644
--- a/colord-kcm/ColordKCM.cpp
+++ b/colord-kcm/ColordKCM.cpp
@@ -158,7 +158,7 @@ ColordKCM::ColordKCM(QWidget *parent, const QVariantList &args) :
connect(watcher, &QDBusServiceWatcher::serviceOwnerChanged,
ui->profile, &Description::serviceOwnerChanged);

- ui->devicesTb->setIcon(QIcon::fromTheme(QStringLiteral("preferences-activities")));
+ ui->devicesTb->setIcon(QIcon::fromTheme(QStringLiteral("computer")));
ui->profilesTb->setIcon(QIcon::fromTheme(QStringLiteral("application-vnd.iccprofile")));

auto signalMapper = new QSignalMapper(this);
--
cgit v1.1

0 comments on commit 17e2439

Please sign in to comment.