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

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:27:24 UTC 2016


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

The following commit has been merged in the master branch:
commit 35f3f68037217bcd74a43ee53a024cf24d29ac46
Author: Samoilenko Yuri <kinnalru at gmail.com>
Date:   Sun Feb 16 10:55:15 2014 +0400

    unmount state removed from palsmoid
---
 plasmoid/package/contents/ui/Battery.qml        |  4 ++--
 plasmoid/package/contents/ui/DeviceDelegate.qml | 12 ++++++++----
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/plasmoid/package/contents/ui/Battery.qml b/plasmoid/package/contents/ui/Battery.qml
index 09a6a09..50adcd8 100644
--- a/plasmoid/package/contents/ui/Battery.qml
+++ b/plasmoid/package/contents/ui/Battery.qml
@@ -39,13 +39,13 @@ QtObject {
     property variant nested1: DBusAsyncResponse {
         id: startupCheck1
         autoDelete: false
-        onSuccess: charging = result
+        onSuccess: root.charging = result
     }
     
     property variant nested2: DBusAsyncResponse {
         id: startupCheck2
         autoDelete: false
-        onSuccess: charge = result
+        onSuccess: root.charge = result
     }
     
     onAvailableChanged: {
diff --git a/plasmoid/package/contents/ui/DeviceDelegate.qml b/plasmoid/package/contents/ui/DeviceDelegate.qml
index e522146..d38d651 100644
--- a/plasmoid/package/contents/ui/DeviceDelegate.qml
+++ b/plasmoid/package/contents/ui/DeviceDelegate.qml
@@ -54,11 +54,14 @@ PlasmaComponents.ListItem
                     },
                     State {
                         name: "MOUNTING"
-                        PropertyChanges { target: browse; checked: true; text: i18n("Mounting...") }
+			// TODO make apropriate icons
+                        //PropertyChanges { target: browse; checked: true; text: i18n("Mounting...") }
+                        PropertyChanges { target: browse; checked: false; text: i18n("Browse") }
                     },
                     State {
                         name: "MOUNTED"
-                        PropertyChanges { target: browse; checked: false; text: i18n("Unmount") }
+                        //PropertyChanges { target: browse; checked: false; text: i18n("Unmount") }
+                        PropertyChanges { target: browse; checked: false; text: i18n("Browse") }
                     }
                 ]
 
@@ -74,12 +77,13 @@ PlasmaComponents.ListItem
                 onClicked: {
                     if (state == "UNMOUNTED") {
                         state = "MOUNTING"
-                        sftp.browse()
+                        //sftp.browse()
                     }
                     else if (state == "MOUNTED") {
-                        sftp.unmount()
+                        //sftp.unmount()
                         state = "UNMOUNTED"
                     }
+                    sftp.browse()
                 }
             }
 

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list