[SCM] ktp-contact-applet packaging branch, master, updated. debian/15.12.1-1-966-gde83ac5

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:19:16 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-desktop-applets.git;a=commitdiff;h=bb0fc1e

The following commit has been merged in the master branch:
commit bb0fc1eb91db6e5029d9bca6944695f2ef299df3
Author: Aleix Pol <aleixpol at kde.org>
Date:   Thu Apr 17 02:51:36 2014 +0200

    Adds a workaround to improve keyboard navigation on the contact list plasmoid
---
 .../org.kde.ktp-contactlist/contents/ui/ListContactDelegate.qml    | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/contactlist/org.kde.ktp-contactlist/contents/ui/ListContactDelegate.qml b/contactlist/org.kde.ktp-contactlist/contents/ui/ListContactDelegate.qml
index 7fd4188..50a70cb 100644
--- a/contactlist/org.kde.ktp-contactlist/contents/ui/ListContactDelegate.qml
+++ b/contactlist/org.kde.ktp-contactlist/contents/ui/ListContactDelegate.qml
@@ -25,6 +25,7 @@ import org.kde.kquickcontrolsaddons 2.0 as ExtraComponents
 PlasmaComponents.ListItem {
     id: delegate
     enabled: true
+    property bool isCurrent: delegate.ListView.view.currentIndex==index
 
     onClicked: telepathyManager.startChat(model.account, model.contact, "org.freedesktop.Telepathy.Client.KTp.chatPlasmoid")
 
@@ -45,9 +46,13 @@ PlasmaComponents.ListItem {
     PlasmaComponents.Label {
         id: nickLabel
         text: model.display
-        font.bold: true
         elide: Text.ElideRight
 
+        //consider this a workaround, because the breeze's listitem doesn't
+        //display very clearly what's the current item
+        styleColor: theme.viewFocusColor
+        style: delegate.isCurrent ? Text.Raised : Text.Normal
+
         anchors {
             left: avatarLabel.right
             right: presenceLabel.left

-- 
ktp-contact-applet packaging



More information about the pkg-kde-commits mailing list