[SCM] kdeconnect packaging branch, master, updated. upstream/1.0.1-206-gf661872

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 18:27:05 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=eb31c1e

The following commit has been merged in the master branch:
commit eb31c1e152ba1c87d204e8c7af98ef664d0f1cd5
Author: Aleix Pol <aleixpol at kde.org>
Date:   Tue Oct 4 01:12:04 2016 +0200

    Make it possible to toggle full notification contents by clicking on it
    
    REVIEW: 129087
---
 plasmoid/package/contents/ui/DeviceDelegate.qml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/plasmoid/package/contents/ui/DeviceDelegate.qml b/plasmoid/package/contents/ui/DeviceDelegate.qml
index 5d9185b..e90e021 100644
--- a/plasmoid/package/contents/ui/DeviceDelegate.qml
+++ b/plasmoid/package/contents/ui/DeviceDelegate.qml
@@ -130,12 +130,16 @@ PlasmaComponents.ListItem
                 deviceId: root.device.id()
             }
             delegate: PlasmaComponents.ListItem {
+                id: listitem
+                enabled: true
+                onClicked: checked = !checked
+
                 PlasmaComponents.Label {
                     text: appName + ": " + display
                     anchors.right: dismissButton.left
                     anchors.left: parent.left
-                    elide: Text.ElideRight
-                    maximumLineCount: 2
+                    elide: listitem.checked ? Text.ElideNone : Text.ElideRight
+                    maximumLineCount: listitem.checked ? 0 : 1
                     wrapMode: Text.WordWrap
                 }
                 PlasmaComponents.ToolButton {

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list