[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:13:40 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-desktop-applets.git;a=commitdiff;h=7297634
The following commit has been merged in the master branch:
commit 7297634bdbb3b0e89dee8e343e74b2a951770ff9
Author: David Edmundson <kde at davidedmundson.co.uk>
Date: Wed Mar 14 21:03:38 2012 +0000
Remove unused nonsense
---
.../contents/ui/ListContactDelegate.qml | 29 +++------------
src/declarative/contents/ui/main.qml | 42 +++-------------------
2 files changed, 10 insertions(+), 61 deletions(-)
diff --git a/src/declarative/contents/ui/ListContactDelegate.qml b/src/declarative/contents/ui/ListContactDelegate.qml
index 01acad6..7e93424 100644
--- a/src/declarative/contents/ui/ListContactDelegate.qml
+++ b/src/declarative/contents/ui/ListContactDelegate.qml
@@ -103,36 +103,17 @@ Item {
}
}
- Rectangle {
- color: "transparent";
- border.color: "red";
- anchors.fill: parent;
- }
-
-// onDelegateDisplayNameChanged: {
-// console.log("CHANGING TEXT to " + delegateDisplayName)
-// nick.text = delegateDisplayName;
-// }
-
-// onDelegatePresenceMessageChanged: {
-// console.log("PRESENCE MESSAGE: "+ delegatePresenceMessage);
-// }
+// Rectangle {
+// color: "transparent";
+// border.color: "red";
+// anchors.fill: parent;
+// }
onDelegatePresenceNameChanged: {
console.log("PRESENCE NAME: "+ delegatePresenceName);
setAvatarPresenceStatus(delegatePresenceName);
}
-// onDelegatePresenceTypeChanged: {
-// console.log("PRESENCE TYPE: "+ delegatePresenceType);
-// }
-
-// onDelegateAvatarChanged: {
-// console.log("AAAAAAAAAAAAAAA")
-// console.log("NEW URI IS: " + TelepathyContactList.extractAvatarPathFromNepomuk(delegate.delegateAvatar));
-// delegateAvatar = TelepathyContactList.extractAvatarPathFromNepomuk(delegate.delegateAvatar);
-// }
-
function setAvatarPresenceStatus(presenceStatus)
{
switch (presenceStatus) {
diff --git a/src/declarative/contents/ui/main.qml b/src/declarative/contents/ui/main.qml
index 92f3628..ce90088 100644
--- a/src/declarative/contents/ui/main.qml
+++ b/src/declarative/contents/ui/main.qml
@@ -31,7 +31,6 @@ Item {
width: 230;
height: 380;
-
// contact listview
ContactList {
id: contactList;
@@ -39,11 +38,11 @@ Item {
state: "listView"; // start with list view
}
- Rectangle {
- anchors.fill: parent;
- color: "transparent";
- border.color: "green"
- }
+// Rectangle {
+// anchors.fill: parent;
+// color: "transparent";
+// border.color: "green"
+// }
function onWidthChanged()
{
@@ -54,35 +53,4 @@ Item {
{
main.height = TelepathyContactList.height - 20;
}
-
-
- // THIS WILL NOT BE NEEDED.
-// // set Label on the left
-// ExternalLabel {
-// id: label;
-// width: 150;
-// height: 30;
-
-// Component.onCompleted: {
-// setLabelOrientation();
-// }
-
-// onOrientationChanged: {
-// setLabelOrientation();
-// }
-// }
-
-// // set correct orientation for components according to the
-// // contactlist orientation
-// function setLabelOrientation()
-// {
-// switch (label.orientation) {
-// case "left": {
-// label.anchors.bottom = main.bottom;
-// label.anchors.left = main.left;
-// label.transformOrigin = Item.BottomLeft;
-// label.rotation = 270;
-// }
-// }
-// }
}
--
ktp-contact-applet packaging
More information about the pkg-kde-commits
mailing list