diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-29 19:38:16 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-29 19:38:16 +0200 |
commit | af1fe0932751e17b16755b4b95a457aedc850b98 (patch) | |
tree | 6700b868594e7831a8ba7528278da5e239c491d6 /components/mail/contents/ui | |
parent | 5194b36177fb4e372c520435b505802a3d1a5371 (diff) | |
download | kube-af1fe0932751e17b16755b4b95a457aedc850b98.tar.gz kube-af1fe0932751e17b16755b4b95a457aedc850b98.zip |
Show offline icon when offline
Diffstat (limited to 'components/mail/contents/ui')
-rw-r--r-- | components/mail/contents/ui/Mail.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/mail/contents/ui/Mail.qml b/components/mail/contents/ui/Mail.qml index 1bdbc5ed..04820d54 100644 --- a/components/mail/contents/ui/Mail.qml +++ b/components/mail/contents/ui/Mail.qml | |||
@@ -308,6 +308,10 @@ Controls2.ApplicationWindow { | |||
308 | State { | 308 | State { |
309 | name: "checkmark"; when: model.status == KubeAccountsFramework.AccountsModel.ConnectedStatus | 309 | name: "checkmark"; when: model.status == KubeAccountsFramework.AccountsModel.ConnectedStatus |
310 | PropertyChanges { target: statusIcon; iconName: KubeTheme.Icons.connected; visible: true } | 310 | PropertyChanges { target: statusIcon; iconName: KubeTheme.Icons.connected; visible: true } |
311 | }, | ||
312 | State { | ||
313 | name: "disconnected"; when: model.status == KubeAccountsFramework.AccountsModel.OfflineStatus | ||
314 | PropertyChanges { target: statusIcon; iconName: KubeTheme.Icons.noNetworkConnection; visible: true } | ||
311 | } | 315 | } |
312 | ] | 316 | ] |
313 | } | 317 | } |