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


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=ba5f9c8

The following commit has been merged in the master branch:
commit ba5f9c81328045103f88dfab0825a574d0396c34
Author: Aleix Pol <aleixpol at kde.org>
Date:   Thu Apr 19 02:26:59 2012 +0200

    Small adjustments to the Chat Plasmoid.
    
    remove the spacing between contacts. It's not needed
    PlasmaWidgets.LineEdit -> PlasmaComponents.TextField
    
    More information about the problem with focus on the reviewboard
    
    REVIEW: 104651
---
 plasmoid/org.kde.ktp-chatplasmoid/contents/ui/ChatWidget.qml | 9 ++++-----
 plasmoid/org.kde.ktp-chatplasmoid/contents/ui/main.qml       | 2 +-
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/plasmoid/org.kde.ktp-chatplasmoid/contents/ui/ChatWidget.qml b/plasmoid/org.kde.ktp-chatplasmoid/contents/ui/ChatWidget.qml
index 30efb4d..cca48a4 100644
--- a/plasmoid/org.kde.ktp-chatplasmoid/contents/ui/ChatWidget.qml
+++ b/plasmoid/org.kde.ktp-chatplasmoid/contents/ui/ChatWidget.qml
@@ -131,15 +131,14 @@ Item {
         width: 16
         orientation: Qt.Vertical
         opacity: view.atYEnd ? 0.3 : 1
-        
+
         Behavior on width { NumberAnimation { duration: 250 } }
         Behavior on opacity { NumberAnimation { duration: 250 } }
     }
 
-    PlasmaWidgets.LineEdit {
+    PlasmaComponents.TextField {
         id: input
-        //FIXME: replace with PlasmaComponents.LineEdit and focus, not before KDE 4.9 because it lacks onAccepted
-//         focus: true
+        focus: true
 
         anchors {
             left: parent.left
@@ -147,7 +146,7 @@ Item {
             bottom: parent.bottom
         }
 
-        onReturnPressed: {
+        Keys.onReturnPressed: {
             view.model.sendNewMessage(text);
             text = "";
         }
diff --git a/plasmoid/org.kde.ktp-chatplasmoid/contents/ui/main.qml b/plasmoid/org.kde.ktp-chatplasmoid/contents/ui/main.qml
index b39208c..e8f19ec 100644
--- a/plasmoid/org.kde.ktp-chatplasmoid/contents/ui/main.qml
+++ b/plasmoid/org.kde.ktp-chatplasmoid/contents/ui/main.qml
@@ -6,7 +6,6 @@ import org.kde.plasma.components 0.1 as PlasmaComponents
 ListView {
     id: base
     anchors.fill: parent
-    spacing: 5
     property alias minimumHeight: base.contentHeight
     property alias minimumWidth: base.contentWidth
     orientation: width>height ? ListView.Horizontal : ListView.Vertical
@@ -53,6 +52,7 @@ ListView {
 
                     dialog.x = point.x;
                     dialog.y = point.y;
+                    dialog.activateWindow()
                     base.currentIndex = index
                 }
                 conv.checked = visible

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list