[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:20 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-desktop-applets.git;a=commitdiff;h=f1ea237
The following commit has been merged in the master branch:
commit f1ea23737a5276bfa7a88e934a588a9572986ada
Author: Aleix Pol <aleixpol at kde.org>
Date: Wed Jul 2 11:50:48 2014 +0200
Add a "Go online" button when offline
We're showing an empty view when we're offline. This should be improved,
so I took the fast and simple approach first.
REVIEW: 119064
---
.../org.kde.ktp-contactlist/contents/ui/ContactList.qml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml b/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml
index 826465a..7320ddd 100644
--- a/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml
+++ b/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml
@@ -37,6 +37,15 @@ Item {
filterLineEdit.forceActiveFocus();
}
+ PlasmaComponents.Button {
+ id: goOnlineButton
+
+ text: i18n("Go online")
+ anchors.centerIn: parent
+ visible: ktpPresence.presenceType == KTp.GlobalPresence.Offline
+ onClicked: ktpPresence.setPresence(KTp.GlobalPresence.Available, "")
+ }
+
PlasmaComponents.TextField {
id: filterLineEdit
anchors {
@@ -45,6 +54,7 @@ Item {
top:parent.top
}
+ visible: !goOnlineButton.visible
focus: true
clearButtonShown: true
@@ -58,6 +68,7 @@ Item {
}
PlasmaExtras.ScrollArea {
+ visible: !goOnlineButton.visible
anchors {
top:filterLineEdit.bottom
left:parent.left
--
ktp-contact-applet packaging
More information about the pkg-kde-commits
mailing list