[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:18 UTC 2016


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

The following commit has been merged in the master branch:
commit 0b03601ab536679a649bab2e356fb71ee6578a84
Author: Aleix Pol <aleixpol at kde.org>
Date:   Tue May 6 02:11:57 2014 +0200

    Shring contact list after triggering to open a conversation
---
 contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml       | 4 ++++
 .../org.kde.ktp-contactlist/contents/ui/ListContactDelegate.qml       | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml b/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml
index 564338d..3de3e53 100644
--- a/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml
+++ b/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml
@@ -82,6 +82,10 @@ Item {
 
             delegate: ListContactDelegate {
                 height: root.delegateHeight
+                onClicked: {
+                    plasmoid.expanded = false;
+                    telepathyManager.startChat(model.account, model.contact, "org.freedesktop.Telepathy.Client.KTp.chatPlasmoid");
+                }
             }
 
             highlight: PlasmaComponents.Highlight {
diff --git a/contactlist/org.kde.ktp-contactlist/contents/ui/ListContactDelegate.qml b/contactlist/org.kde.ktp-contactlist/contents/ui/ListContactDelegate.qml
index 50a70cb..82012c2 100644
--- a/contactlist/org.kde.ktp-contactlist/contents/ui/ListContactDelegate.qml
+++ b/contactlist/org.kde.ktp-contactlist/contents/ui/ListContactDelegate.qml
@@ -27,8 +27,6 @@ PlasmaComponents.ListItem {
     enabled: true
     property bool isCurrent: delegate.ListView.view.currentIndex==index
 
-    onClicked: telepathyManager.startChat(model.account, model.contact, "org.freedesktop.Telepathy.Client.KTp.chatPlasmoid")
-
     ExtraComponents.QPixmapItem {
         id: avatarLabel
         width: height

-- 
ktp-contact-applet packaging



More information about the pkg-kde-commits mailing list