gnome-shell/js
Michael Catanzaro 3001f3376c loginDialog: Reconsider user for user list when user changes
Generally a user-changed operation will be uninteresting, but if the
user is currently in the user list and the account changes to locked, we
want to remove it from the list, or if the user is not in the list and
the account changed to unlocked, we want to add it to the list. This
fixes the case where a new user account created in gnome-control-center
does not appear in the user list. The password mode is set in the new
account immediately after it is created, but the operations are not
atomic, so the login dialog considers the new user account when it is
still locked and rejects it from being displayed, then immediately
afterwards the account is unlocked. This commit causes the login dialog
to show the account when this occurs.

The containsUser() check here is not strictly necessary, but reduces
spurious calls to addUser() and removeUser(), since there's no easy way
to check if the locked status of the account has changed (as it's much
easier to connect to one signal on the UserManager than to
notify::locked on each User object).

https://bugzilla.gnome.org/show_bug.cgi?id=758568
2015-12-02 18:25:25 +01:00
..
extensionPrefs ExtensionPrefs: remove unused GSettings object 2015-03-27 13:11:22 -07:00
gdm loginDialog: Reconsider user for user list when user changes 2015-12-02 18:25:25 +01:00
misc misc: Add missing check on reply from systemd's CanSuspend D-Bus method 2015-04-22 23:17:45 +01:00
perf Revert accidental commit "Test stuff" 2014-09-03 13:47:18 -04:00
portalHelper PortalHelper: Make translator comment appear 2015-01-28 13:47:56 +01:00
ui altTab: Fix window-switcher on HiDPI displays 2015-12-02 10:35:52 +01:00
js-resources.gresource.xml legacyTray: Add a hideable tray for legacy status icons 2015-03-03 19:14:49 +01:00
Makefile.am js/Makefile.am: Fix dependency generation with srcdir != builddir 2014-06-29 18:27:53 -04:00