From 2245218701cd24f277f749478a3a7ee4726ed537 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Fri, 20 Jan 2017 00:25:58 +0100 Subject: disable hover actions for now --- components/package/contents/ui/MailListView.qml | 72 ++++++++++++------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'components/package/contents/ui/MailListView.qml') diff --git a/components/package/contents/ui/MailListView.qml b/components/package/contents/ui/MailListView.qml index 43b65a18..0066ca6c 100644 --- a/components/package/contents/ui/MailListView.qml +++ b/components/package/contents/ui/MailListView.qml @@ -198,7 +198,7 @@ Item { color: mailListDelegate.checked ? Kirigami.Theme.highlightedTextColor : Kirigami.Theme.disabledTextColor font.pointSize: 9 - visible: mailListDelegate.containsMouse == false + //visible: mailListDelegate.containsMouse == false } @@ -216,41 +216,41 @@ Item { color: mailListDelegate.checked ? Kirigami.Theme.highlightedTextColor : model.unread ? "#1d99f3" : Kirigami.Theme.disabledTextColor } - Row { - id: actionButtons - - anchors { - right: parent.right - bottom: parent.bottom - } - - visible: mailListDelegate.containsMouse == true - spacing: Kirigami.Units.smallSpacing - - Controls.ToolButton { - iconName: "mail-mark-unread" - enabled: mailController.markAsReadAction.enabled - onClicked: { - //mailController.markAsReadAction.execute() - } - } - - Controls.ToolButton { - iconName: "mail-mark-important" - enabled: mailController.markAsImportantAction.enabled - onClicked: { - //mailController.markAsImportantAction.execute() - } - } - - Controls.ToolButton { - iconName: "edit-delete" - enabled: mailController.moveToTrashAction.enabled - onClicked: { - //mailController.moveToTrashAction.execute() - } - } - } +// Row { +// id: actionButtons +// +// anchors { +// right: parent.right +// bottom: parent.bottom +// } +// +// visible: mailListDelegate.containsMouse == true +// spacing: Kirigami.Units.smallSpacing +// +// Controls.ToolButton { +// iconName: "mail-mark-unread" +// enabled: mailController.markAsReadAction.enabled +// onClicked: { +// //mailController.markAsReadAction.execute() +// } +// } +// +// Controls.ToolButton { +// iconName: "mail-mark-important" +// enabled: mailController.markAsImportantAction.enabled +// onClicked: { +// //mailController.markAsImportantAction.execute() +// } +// } +// +// Controls.ToolButton { +// iconName: "edit-delete" +// enabled: mailController.moveToTrashAction.enabled +// onClicked: { +// //mailController.moveToTrashAction.execute() +// } +// } +// } } } } -- cgit v1.2.3