summaryrefslogtreecommitdiffstats
path: root/framework/qml/MailListView.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-26 14:09:12 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-26 14:34:32 -0600
commit2b10824d93f9a727745aa4dd31c650a4ba1df847 (patch)
tree4b735b62b473f727205d72e18429ad798dc05398 /framework/qml/MailListView.qml
parent097b3f2e75395f2e069386835f2e45bd665f7bad (diff)
downloadkube-2b10824d93f9a727745aa4dd31c650a4ba1df847.tar.gz
kube-2b10824d93f9a727745aa4dd31c650a4ba1df847.zip
Removed the background color for the buttons again since we have a
highlight again
Diffstat (limited to 'framework/qml/MailListView.qml')
-rw-r--r--framework/qml/MailListView.qml10
1 files changed, 0 insertions, 10 deletions
diff --git a/framework/qml/MailListView.qml b/framework/qml/MailListView.qml
index d4e0672b..fe041d58 100644
--- a/framework/qml/MailListView.qml
+++ b/framework/qml/MailListView.qml
@@ -215,16 +215,12 @@ FocusScope {
215 Kube.IconButton { 215 Kube.IconButton {
216 id: readButton 216 id: readButton
217 iconName: Kube.Icons.markAsRead 217 iconName: Kube.Icons.markAsRead
218 //FIXME workaround for invisble icon, remove color again
219 color: Kube.Colors.textColor
220 visible: model.unread 218 visible: model.unread
221 onClicked: Kube.Fabric.postMessage(Kube.Messages.markAsRead, {"mail": model.mail}) 219 onClicked: Kube.Fabric.postMessage(Kube.Messages.markAsRead, {"mail": model.mail})
222 } 220 }
223 Kube.IconButton { 221 Kube.IconButton {
224 id: unreadButton 222 id: unreadButton
225 iconName: Kube.Icons.markAsUnread 223 iconName: Kube.Icons.markAsUnread
226 //FIXME workaround for invisble icon, remove color again
227 color: Kube.Colors.textColor
228 visible: !model.unread 224 visible: !model.unread
229 onClicked: Kube.Fabric.postMessage(Kube.Messages.markAsUnread, {"mail": model.mail}) 225 onClicked: Kube.Fabric.postMessage(Kube.Messages.markAsUnread, {"mail": model.mail})
230 } 226 }
@@ -232,8 +228,6 @@ FocusScope {
232 Kube.IconButton { 228 Kube.IconButton {
233 id: importantButton 229 id: importantButton
234 iconName: Kube.Icons.markImportant 230 iconName: Kube.Icons.markImportant
235 //FIXME workaround for invisble icon, remove color again
236 color: Kube.Colors.textColor
237 visible: !!model.mail 231 visible: !!model.mail
238 onClicked: Kube.Fabric.postMessage(Kube.Messages.toggleImportant, {"mail": model.mail, "important": model.important}) 232 onClicked: Kube.Fabric.postMessage(Kube.Messages.toggleImportant, {"mail": model.mail, "important": model.important})
239 } 233 }
@@ -241,8 +235,6 @@ FocusScope {
241 Kube.IconButton { 235 Kube.IconButton {
242 id: deleteButton 236 id: deleteButton
243 iconName: Kube.Icons.moveToTrash 237 iconName: Kube.Icons.moveToTrash
244 //FIXME workaround for invisble icon, remove color again
245 color: Kube.Colors.textColor
246 visible: !!model.mail 238 visible: !!model.mail
247 onClicked: Kube.Fabric.postMessage(Kube.Messages.moveToTrash, {"mail": model.mail}) 239 onClicked: Kube.Fabric.postMessage(Kube.Messages.moveToTrash, {"mail": model.mail})
248 } 240 }
@@ -250,8 +242,6 @@ FocusScope {
250 Kube.IconButton { 242 Kube.IconButton {
251 id: restoreButton 243 id: restoreButton
252 iconName: Kube.Icons.undo 244 iconName: Kube.Icons.undo
253 //FIXME workaround for invisble icon, remove color again
254 color: Kube.Colors.textColor
255 visible: !!model.trash 245 visible: !!model.trash
256 onClicked: Kube.Fabric.postMessage(Kube.Messages.restoreFromTrash, {"mail": model.mail}) 246 onClicked: Kube.Fabric.postMessage(Kube.Messages.restoreFromTrash, {"mail": model.mail})
257 } 247 }