on xenial help sign in
Allow consumers of Lockscreen to query the current passphrase
commit23bce99202df9be7c884b7912066bc817eb86621 authorMichael Terry <michael.terry@canonical.com> dateThu 23 Oct 2014, 09:23 (12 years ago) parent0e59683
4 files changed+12
debian/changelog+6 qml/Components/Lockscreen.qml+2 qml/Components/PassphraseLockscreen.qml+2 qml/Components/PinLockscreen.qml+2
debian/changelog+6
@@ -1,3 +1,9 @@
1+unity8 (8.01) UNRELEASED; urgency=medium
2+
3+ * Provide 'passphrase' as a field of Components.Lockscreen
4+
5+ -- Michael Terry <mterry@ubuntu.com> Wed, 22 Oct 2014 16:05:26 -0400
6+
17unity8 (8.00+14.10.20141013.2-0ubuntu1) utopic; urgency=low
28
39 [ Michael Terry ]
qml/Components/Lockscreen.qml+2
@@ -56,6 +56,8 @@ Showable {
5656
5757 property url background: ""
5858
59+ readonly property string passphrase: (pinPadLoader.item && pinPadLoader.item.passphrase) ? pinPadLoader.item.passphrase : ""
60+
5961 signal entered(string passphrase)
6062 signal cancel()
6163 signal emergencyCall()
qml/Components/PassphraseLockscreen.qml+2
@@ -28,6 +28,8 @@ Item {
2828 property string errorText
2929 property bool entryEnabled: true
3030
31+ readonly property string passphrase: pinentryField.text
32+
3133 signal entered(string passphrase)
3234 signal cancel()
3335
qml/Components/PinLockscreen.qml+2
@@ -35,6 +35,8 @@ Column {
3535 property int maxPinLength: -1
3636 property bool showCancelButton: true
3737
38+ readonly property string passphrase: pinentryField.text
39+
3840 signal entered(string passphrase)
3941 signal cancel()
4042