diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-29 19:12:15 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-29 19:12:15 +0200 |
commit | 5194b36177fb4e372c520435b505802a3d1a5371 (patch) | |
tree | 5cdfaaea1a7ebf8b090f838241c7f49a710d8362 /components/mail/contents | |
parent | 9ab147575870f0303bb3dd36684e28f4afb27aca (diff) | |
download | kube-5194b36177fb4e372c520435b505802a3d1a5371.tar.gz kube-5194b36177fb4e372c520435b505802a3d1a5371.zip |
Added Icon theme
Diffstat (limited to 'components/mail/contents')
-rw-r--r-- | components/mail/contents/ui/Mail.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/mail/contents/ui/Mail.qml b/components/mail/contents/ui/Mail.qml index 0643287f..1bdbc5ed 100644 --- a/components/mail/contents/ui/Mail.qml +++ b/components/mail/contents/ui/Mail.qml | |||
@@ -31,6 +31,7 @@ import org.kube.framework.notifications 1.0 as KubeNotifications | |||
31 | import org.kube.framework.accounts 1.0 as KubeAccountsFramework | 31 | import org.kube.framework.accounts 1.0 as KubeAccountsFramework |
32 | import org.kube.components 1.0 as KubeComponents | 32 | import org.kube.components 1.0 as KubeComponents |
33 | import org.kube.components.accounts 1.0 as KubeAccounts | 33 | import org.kube.components.accounts 1.0 as KubeAccounts |
34 | import org.kube.components.theme 1.0 as KubeTheme | ||
34 | 35 | ||
35 | Controls2.ApplicationWindow { | 36 | Controls2.ApplicationWindow { |
36 | id: app | 37 | id: app |
@@ -298,15 +299,15 @@ Controls2.ApplicationWindow { | |||
298 | states: [ | 299 | states: [ |
299 | State { | 300 | State { |
300 | name: "busy"; when: model.status == KubeAccountsFramework.AccountsModel.BusyStatus | 301 | name: "busy"; when: model.status == KubeAccountsFramework.AccountsModel.BusyStatus |
301 | PropertyChanges { target: statusIcon; iconName: "view-refresh"; visible: true } | 302 | PropertyChanges { target: statusIcon; iconName: KubeTheme.Icons.busy; visible: true } |
302 | }, | 303 | }, |
303 | State { | 304 | State { |
304 | name: "error"; when: model.status == KubeAccountsFramework.AccountsModel.ErrorStatus | 305 | name: "error"; when: model.status == KubeAccountsFramework.AccountsModel.ErrorStatus |
305 | PropertyChanges { target: statusIcon; iconName: "emblem-error"; visible: true } | 306 | PropertyChanges { target: statusIcon; iconName: KubeTheme.Icons.error; visible: true } |
306 | }, | 307 | }, |
307 | State { | 308 | State { |
308 | name: "checkmark"; when: model.status == KubeAccountsFramework.AccountsModel.ConnectedStatus | 309 | name: "checkmark"; when: model.status == KubeAccountsFramework.AccountsModel.ConnectedStatus |
309 | PropertyChanges { target: statusIcon; iconName: "checkmark"; visible: true } | 310 | PropertyChanges { target: statusIcon; iconName: KubeTheme.Icons.connected; visible: true } |
310 | } | 311 | } |
311 | ] | 312 | ] |
312 | } | 313 | } |