Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Staging:C:DVD
plasma5-pk-updates
use-new-breeze-icons.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File use-new-breeze-icons.patch of Package plasma5-pk-updates
From 9e236ec5d4d28d7498dfcc830a95590dececcf02 Mon Sep 17 00:00:00 2001 From: Jan Grulich <jgrulich@redhat.com> Date: Mon, 29 Feb 2016 14:34:06 +0100 Subject: [PATCH 1/4] Use new breeze icons --- src/declarative/pkupdates.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp index f1e013f..324387f 100644 --- a/src/declarative/pkupdates.cpp +++ b/src/declarative/pkupdates.cpp @@ -97,12 +97,15 @@ bool PkUpdates::isSystemUpToDate() const QString PkUpdates::iconName() const { - if (securityCount() > 0) - return "security-low"; - else if (importantCount() > 0) - return "security-medium"; - - return "security-high"; + if (securityCount() > 0) { + return "update-hight"; + } else if (importantCount() > 0) { + return "update-medium"; + } else if (count() > 0) { + return "update-low"; + } else { + return "update-none"; + } } QString PkUpdates::message() const -- 2.9.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor