on xenial help sign in
Add some fixes
b4c3f4bMichael Terry
plugins/LightDM/Greeter.cpp+1
@@ -151,6 +151,7 @@ void Greeter::respond(const QString &response)
151{
151{
152 Q_D(Greeter);
152 Q_D(Greeter);
153 d->m_greeter->respond(response);
153 d->m_greeter->respond(response);
154+ Q_EMIT authenticationUserChanged(); // may have changed in liblightdm
154}
155}
155
156
156bool Greeter::startSessionSync(const QString &session)
157bool Greeter::startSessionSync(const QString &session)
qml/Greeter/LoginList.qml+2−2
@@ -205,8 +205,8 @@ StyledItem {
205 }
205 }
206 text: userList.currentIndex === index
206 text: userList.currentIndex === index
207 && name === "*other"
207 && name === "*other"
208− && LightDM.Greeter.authenticationUser !== ""
208+ && LightDMService.greeter.authenticationUser !== ""
209− ? LightDM.Greeter.authenticationUser : realName
209+ ? LightDMService.greeter.authenticationUser : realName
210 color: userList.currentIndex !== index ? theme.palette.normal.raised
210 color: userList.currentIndex !== index ? theme.palette.normal.raised
211 : theme.palette.normal.raisedText
211 : theme.palette.normal.raisedText
212
212