[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:21:46 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=0d386f8
The following commit has been merged in the master branch:
commit 0d386f8d4a5a93009d6133e11f9b0dc1d54f45ef
Author: Aleix Pol <aleixpol at kde.org>
Date: Fri Apr 13 19:09:45 2012 +0200
Usability improvement on the Chat plasmoid
Only show 1 chat at once.
REVIEW: 104575
---
plasmoid/org.kde.ktp-chatplasmoid/contents/ui/main.qml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/plasmoid/org.kde.ktp-chatplasmoid/contents/ui/main.qml b/plasmoid/org.kde.ktp-chatplasmoid/contents/ui/main.qml
index 3a9b71f..f548c33 100644
--- a/plasmoid/org.kde.ktp-chatplasmoid/contents/ui/main.qml
+++ b/plasmoid/org.kde.ktp-chatplasmoid/contents/ui/main.qml
@@ -17,6 +17,7 @@ ListView {
delegate : ConversationDelegate {
//FIXME: rename the two variables named 'conv' as it's confusing
+ property alias active: conv.checked
id: conv
anchors.top: parent.top
anchors.bottom: parent.bottom
@@ -43,11 +44,15 @@ ListView {
onVisibleChanged: {
if(visible) {
+ //hides the previously visible chat
+ base.currentItem.active = false
+
var point = dialog.popupPosition(conv, Qt.AlignBottom);
console.log("Showing dialog at (" + point.x + "," + point.y + ")");
dialog.x = point.x;
dialog.y = point.y;
+ base.currentIndex = index
}
conv.checked = visible
}
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list