summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-30 00:50:59 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-30 00:50:59 +0200
commit9f9c125ee8ae1bd7df352bc4e3249351c96d2073 (patch)
tree35819cc79f85e404fce2eafa8c89321816e7ae27
parentc6249b5f9c8c57c6dbbf314faf54fa051122d7a8 (diff)
downloadkube-9f9c125ee8ae1bd7df352bc4e3249351c96d2073.tar.gz
kube-9f9c125ee8ae1bd7df352bc4e3249351c96d2073.zip
Use theme
-rw-r--r--components/package/contents/ui/AccountSwitcher.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/components/package/contents/ui/AccountSwitcher.qml b/components/package/contents/ui/AccountSwitcher.qml
index 8e82dc03..689ace77 100644
--- a/components/package/contents/ui/AccountSwitcher.qml
+++ b/components/package/contents/ui/AccountSwitcher.qml
@@ -28,6 +28,7 @@ import org.kde.kirigami 1.0 as Kirigami
28import org.kube.framework.domain 1.0 as KubeFramework 28import org.kube.framework.domain 1.0 as KubeFramework
29import org.kube.framework.accounts 1.0 as KubeAccounts 29import org.kube.framework.accounts 1.0 as KubeAccounts
30import org.kube.components 1.0 as KubeComponents 30import org.kube.components 1.0 as KubeComponents
31import org.kube.components.theme 1.0 as KubeTheme
31 32
32Controls.ToolButton { 33Controls.ToolButton {
33 id: accountSwitcher 34 id: accountSwitcher
@@ -170,15 +171,15 @@ Controls.ToolButton {
170 states: [ 171 states: [
171 State { 172 State {
172 name: "busy"; when: model.status == KubeAccountsFramework.AccountsModel.BusyStatus 173 name: "busy"; when: model.status == KubeAccountsFramework.AccountsModel.BusyStatus
173 PropertyChanges { target: statusIcon; iconName: "view-refresh"; visible: true } 174 PropertyChanges { target: statusIcon; iconName: KubeTheme.Icons.busy; visible: true }
174 }, 175 },
175 State { 176 State {
176 name: "error"; when: model.status == KubeAccountsFramework.AccountsModel.ErrorStatus 177 name: "error"; when: model.status == KubeAccountsFramework.AccountsModel.ErrorStatus
177 PropertyChanges { target: statusIcon; iconName: "emblem-error"; visible: true } 178 PropertyChanges { target: statusIcon; iconName: KubeTheme.Icons.error; visible: true }
178 }, 179 },
179 State { 180 State {
180 name: "checkmark"; when: model.status == KubeAccountsFramework.AccountsModel.ConnectedStatus 181 name: "checkmark"; when: model.status == KubeAccountsFramework.AccountsModel.ConnectedStatus
181 PropertyChanges { target: statusIcon; iconName: "checkmark"; visible: true } 182 PropertyChanges { target: statusIcon; iconName: KubeTheme.Icons.connected; visible: true }
182 } 183 }
183 ] 184 ]
184 } 185 }