Make the mock hint better reflect the initial greeter state
commite8ef34205191f217f65723d5263ca091b69de3f9
authorJosh Arenson <joshua.arenson@canonical.com>
dateWed 22 Jun 2016, 13:33 (10 years ago)
parent2ed43d3
qml/Greeter/LoginList.qml+1−1
@@ -223,7 +223,7 @@ StyledItem {
223223 readonly property alias icon: badge.source
224224
225225 visible: LightDMService.sessions.count > 1 &&
226− LightDMService.greeter.locked
226+ !LightDMService.greeter.locked
227227
228228 height: units.gu(3)
229229 width: units.gu(3)
tests/mocks/LightDM/IntegratedLightDM/liblightdm/Greeter.cpp+1−1
@@ -71,7 +71,7 @@ bool Greeter::showRemoteLoginHint() const
7171
7272bool Greeter::lockHint () const
7373{
74− return true;
74+ return false;
7575}
7676
7777QString Greeter::selectUserHint() const