Commit e2965af7 authored by Nate Graham's avatar Nate Graham
Browse files

Use a lighter star color for non-default devices

Summary:
Since announcing the relevant feature, user feedback has indicated that people prefer
for the star icon of the non-default device to be lighter so that it doesn't command
as much visual attention. To do this, we need to use a different set of icons that are
designed to be be used together in this way.

Master only since it requires icon changes (see below) that we can't guarantee people
using Plasma 5.17 will have.

Depends on D24612

Test Plan: {F7587422}

Reviewers: #vdg, ndavis

Reviewed By: #vdg, ndavis

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D24613
parent fb563192
......@@ -149,7 +149,7 @@ PlasmaComponents.ListItem {
PlasmaComponents3.ToolButton {
id: defaultButton
text: i18n("Default Device")
icon.name: "favorite"
icon.name: PulseObject.default ? "starred-symbolic" : "non-starred-symbolic"
checkable: true
checked: PulseObject.default
visible: (type == "sink" && sinkView.model.count > 1) || (type == "source" && sourceView.model.count > 1)
......
......@@ -80,7 +80,7 @@ ColumnLayout {
Button {
text: i18n("Default Device")
icon.name: "favorite"
icon.name: Default ? "starred-symbolic" : "non-starred-symbolic"
visible: delegate.ListView.view.count > 1
checkable: true
checked: Default
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment