~saviq/unity8/card-visual-tweaks

« back to all changes in this revision

Viewing changes to qml/Shell.qml

  • Committer: CI bot
  • Author(s): Michael Terry
  • Date: 2014-08-28 20:06:18 UTC
  • mfrom: (1205.2.4 unlock-via-dbus)
  • Revision ID: ps-jenkins@lists.canonical.com-20140828200618-chymc4g3165z74hz
With recent password support, we want to be able to unlock the device even with a password set.  And we need to be able to do this once the new adbd lands.  So I've added a DBus command to hide the greeter.  This should be secure because all apps are constrained and if you're on the local session bus unconstrained, you already have access to anything you want.
 
Approved by: Martin Pitt, Albert Astals Cid

Show diffs side-by-side

added added

removed removed

Lines of Context:
271
271
        target: LightDM.Greeter
272
272
 
273
273
        onShowGreeter: greeter.show()
 
274
        onHideGreeter: greeter.login()
274
275
 
275
276
        onShowPrompt: {
276
277
            if (greeter.narrowMode) {
313
314
            }
314
315
 
315
316
            if (LightDM.Greeter.authenticated) {
316
 
                lockscreen.hide();
317
317
                greeter.login();
318
318
            } else {
319
319
                AccountsService.failedLogins++