[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:27:25 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=c6354f1
The following commit has been merged in the master branch:
commit c6354f194f4f194ea4aca18a85db8c0ce07d08d5
Author: Albert Vaca <albertvaka at gmail.com>
Date: Wed Feb 19 14:25:55 2014 +0100
Changed "Browse" text to an icon
---
plasmoid/package/contents/ui/DeviceDelegate.qml | 33 +------------------------
1 file changed, 1 insertion(+), 32 deletions(-)
diff --git a/plasmoid/package/contents/ui/DeviceDelegate.qml b/plasmoid/package/contents/ui/DeviceDelegate.qml
index d38d651..a58255c 100644
--- a/plasmoid/package/contents/ui/DeviceDelegate.qml
+++ b/plasmoid/package/contents/ui/DeviceDelegate.qml
@@ -44,45 +44,14 @@ PlasmaComponents.ListItem
PlasmaComponents.Button
{
id: browse
- checkable: true
- state: "UNMOUNTED"
-
- states: [
- State {
- name: "UNMOUNTED"
- PropertyChanges { target: browse; checked: false; text: i18n("Browse") }
- },
- State {
- name: "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("Browse") }
- }
- ]
+ iconSource: "document-open-folder"
Sftp {
id: sftp
deviceId: root.deviceId
-
- onMounted: browse.state = "MOUNTED"
- onUnmounted: browse.state = "UNMOUNTED"
- onError: browse.state = "UNMOUNTED"
}
onClicked: {
- if (state == "UNMOUNTED") {
- state = "MOUNTING"
- //sftp.browse()
- }
- else if (state == "MOUNTED") {
- //sftp.unmount()
- state = "UNMOUNTED"
- }
sftp.browse()
}
}
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list