on xenial help sign in
Allow consumers of Lockscreen to query the current passphrase
23bce99Michael Terry
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+
1unity8 (8.00+14.10.20141013.2-0ubuntu1) utopic; urgency=low
7unity8 (8.00+14.10.20141013.2-0ubuntu1) utopic; urgency=low
2
8
3 [ Michael Terry ]
9 [ Michael Terry ]
qml/Components/Lockscreen.qml+2
@@ -56,6 +56,8 @@ Showable {
56
56
57 property url background: ""
57 property url background: ""
58
58
59+ readonly property string passphrase: (pinPadLoader.item && pinPadLoader.item.passphrase) ? pinPadLoader.item.passphrase : ""
60+
59 signal entered(string passphrase)
61 signal entered(string passphrase)
60 signal cancel()
62 signal cancel()
61 signal emergencyCall()
63 signal emergencyCall()
qml/Components/PassphraseLockscreen.qml+2
@@ -28,6 +28,8 @@ Item {
28 property string errorText
28 property string errorText
29 property bool entryEnabled: true
29 property bool entryEnabled: true
30
30
31+ readonly property string passphrase: pinentryField.text
32+
31 signal entered(string passphrase)
33 signal entered(string passphrase)
32 signal cancel()
34 signal cancel()
33
35
qml/Components/PinLockscreen.qml+2
@@ -35,6 +35,8 @@ Column {
35 property int maxPinLength: -1
35 property int maxPinLength: -1
36 property bool showCancelButton: true
36 property bool showCancelButton: true
37
37
38+ readonly property string passphrase: pinentryField.text
39+
38 signal entered(string passphrase)
40 signal entered(string passphrase)
39 signal cancel()
41 signal cancel()
40
42