diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-25 06:44:32 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-25 06:44:32 +0200 |
commit | 09ad44779825006cac7c41b31b1add157d3a7215 (patch) | |
tree | 3a93906d8325f30bc7c4a53da69aa37be6ffe250 /framework/qml/MailListView.qml | |
parent | 96025e07891a341594ed9e93e1d2eec9c8bd7590 (diff) | |
download | kube-09ad44779825006cac7c41b31b1add157d3a7215.tar.gz kube-09ad44779825006cac7c41b31b1add157d3a7215.zip |
Workaround for white icons on white background
Diffstat (limited to 'framework/qml/MailListView.qml')
-rw-r--r-- | framework/qml/MailListView.qml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/framework/qml/MailListView.qml b/framework/qml/MailListView.qml index c4d8e307..17ecd202 100644 --- a/framework/qml/MailListView.qml +++ b/framework/qml/MailListView.qml | |||
@@ -216,16 +216,16 @@ FocusScope { | |||
216 | Kube.IconButton { | 216 | Kube.IconButton { |
217 | id: readButton | 217 | id: readButton |
218 | iconName: Kube.Icons.markAsRead | 218 | iconName: Kube.Icons.markAsRead |
219 | //FIXME workaround for invisble icon | 219 | //FIXME workaround for invisble icon, remove color again |
220 | color: Kube.Colors.highlightColor | 220 | color: Kube.Colors.textColor |
221 | visible: model.unread | 221 | visible: model.unread |
222 | onClicked: Kube.Fabric.postMessage(Kube.Messages.markAsRead, {"mail": model.mail}) | 222 | onClicked: Kube.Fabric.postMessage(Kube.Messages.markAsRead, {"mail": model.mail}) |
223 | } | 223 | } |
224 | Kube.IconButton { | 224 | Kube.IconButton { |
225 | id: unreadButton | 225 | id: unreadButton |
226 | iconName: Kube.Icons.markAsUnread | 226 | iconName: Kube.Icons.markAsUnread |
227 | //FIXME workaround for invisble icon | 227 | //FIXME workaround for invisble icon, remove color again |
228 | color: Kube.Colors.highlightColor | 228 | color: Kube.Colors.textColor |
229 | visible: !model.unread | 229 | visible: !model.unread |
230 | onClicked: Kube.Fabric.postMessage(Kube.Messages.markAsUnread, {"mail": model.mail}) | 230 | onClicked: Kube.Fabric.postMessage(Kube.Messages.markAsUnread, {"mail": model.mail}) |
231 | } | 231 | } |
@@ -233,8 +233,8 @@ FocusScope { | |||
233 | Kube.IconButton { | 233 | Kube.IconButton { |
234 | id: importantButton | 234 | id: importantButton |
235 | iconName: Kube.Icons.markImportant | 235 | iconName: Kube.Icons.markImportant |
236 | //FIXME workaround for invisble icon | 236 | //FIXME workaround for invisble icon, remove color again |
237 | color: Kube.Colors.highlightColor | 237 | color: Kube.Colors.textColor |
238 | visible: !!model.mail | 238 | visible: !!model.mail |
239 | onClicked: Kube.Fabric.postMessage(Kube.Messages.toggleImportant, {"mail": model.mail, "important": model.important}) | 239 | onClicked: Kube.Fabric.postMessage(Kube.Messages.toggleImportant, {"mail": model.mail, "important": model.important}) |
240 | } | 240 | } |
@@ -242,6 +242,8 @@ FocusScope { | |||
242 | Kube.IconButton { | 242 | Kube.IconButton { |
243 | id: deleteButton | 243 | id: deleteButton |
244 | iconName: Kube.Icons.moveToTrash | 244 | iconName: Kube.Icons.moveToTrash |
245 | //FIXME workaround for invisble icon, remove color again | ||
246 | color: Kube.Colors.textColor | ||
245 | visible: !!model.mail | 247 | visible: !!model.mail |
246 | onClicked: Kube.Fabric.postMessage(Kube.Messages.moveToTrash, {"mail": model.mail}) | 248 | onClicked: Kube.Fabric.postMessage(Kube.Messages.moveToTrash, {"mail": model.mail}) |
247 | } | 249 | } |
@@ -249,6 +251,8 @@ FocusScope { | |||
249 | Kube.IconButton { | 251 | Kube.IconButton { |
250 | id: restoreButton | 252 | id: restoreButton |
251 | iconName: Kube.Icons.undo | 253 | iconName: Kube.Icons.undo |
254 | //FIXME workaround for invisble icon, remove color again | ||
255 | color: Kube.Colors.textColor | ||
252 | visible: !!model.trash | 256 | visible: !!model.trash |
253 | onClicked: Kube.Fabric.postMessage(Kube.Messages.restoreFromTrash, {"mail": model.mail}) | 257 | onClicked: Kube.Fabric.postMessage(Kube.Messages.restoreFromTrash, {"mail": model.mail}) |
254 | } | 258 | } |