[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:29:05 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=4a8303f

The following commit has been merged in the master branch:
commit 4a8303f846452d9bf202693b64d50050c03f77aa
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Fri Sep 11 22:48:45 2015 +0200

    Add button to find phone from plasmoid
---
 .../package/contents/ui/{Sftp.qml => FindMyPhone.qml}     | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/plasmoid/package/contents/ui/Sftp.qml b/plasmoid/package/contents/ui/FindMyPhone.qml
similarity index 85%
copy from plasmoid/package/contents/ui/Sftp.qml
copy to plasmoid/package/contents/ui/FindMyPhone.qml
index 9ef4f41..8a666b7 100644
--- a/plasmoid/package/contents/ui/Sftp.qml
+++ b/plasmoid/package/contents/ui/FindMyPhone.qml
@@ -31,11 +31,12 @@ QtObject {
     property variant device: DeviceDbusInterfaceFactory.create(deviceId)
     property bool available: false
 
-    property variant sftp: null
+    property variant findMyPhone: null
 
-    function browse() {
-        if (sftp)
-            sftp.startBrowsing();
+    function ring() {
+        if (findMyPhone) {
+            findMyPhone.ring();
+        }
     }
 
     Component.onCompleted: {
@@ -46,14 +47,14 @@ QtObject {
     // Note: magically called by qml
     onAvailableChanged: {
         if (available) {
-            sftp = SftpDbusInterfaceFactory.create(deviceId)
+            findMyPhone = FindMyPhoneDbusInterfaceFactory.create(deviceId)
         } else {
-            sftp = null
+            findMyPhone = null
         }
     }
 
     function pluginsChanged() {
-        var result = DBusResponseWaiter.waitForReply(device.hasPlugin("kdeconnect_sftp"))
+        var result = DBusResponseWaiter.waitForReply(device.hasPlugin("kdeconnect_findmyphone"))
         available = (result && result != "error");
     }
 

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list