gnome-control-center/panels/user-accounts
Marco Trevisan (Treviño) 826268dd74 fingerprint-dialog: Properly handle claiming errors if we're already claiming
We were a bit too permissive in handling the AlreadyInUse error during
claim, as we assumed it was always us causing it instead of properly
handing the case a device was already claimed by another caller.

So to ensure this is the case we need to avoid multiple calls to claim
until we've finished one.

Unfortunately we can't rely on a cancellable here as we may end up
cancelling the request that succeeded and we'll only get an
AlreadyClaimed error without know if it was us succeeding.

Fixes: #1201
2021-02-02 11:45:22 +13:00
..
data fingerprint-dialog: Wiggle the enroll status label on retry events 2020-06-26 01:54:04 +00:00
cc-add-user-dialog.c user-accounts: Connect signals with g_signal_connect_object in swapped form 2020-03-30 16:18:50 +13:00
cc-add-user-dialog.h user-accounts: Use gtk_dialog_run for CcAddUserDialog 2018-11-10 09:24:34 +13:00
cc-add-user-dialog.ui user-panels: Limit full name length 2019-02-13 15:06:53 +00:00
cc-avatar-chooser.c user-accounts: Show "Take a picture" button only when cam is available 2020-08-07 00:14:33 +00:00
cc-avatar-chooser.h user-accounts: Rename UmPhotoDialog to CcAvatarChooser 2018-11-14 10:06:15 +13:00
cc-avatar-chooser.ui user-accounts: Present the default avatar in the avatar popover 2019-05-16 14:50:45 +00:00
cc-carousel.c Fix minor typos 2020-07-20 10:38:09 +03:00
cc-carousel.h user-accounts: Rename UmCarousel to CcCarousel 2018-11-14 10:06:15 +13:00
cc-carousel.ui user-accounts: Rename UmCarousel to CcCarousel 2018-11-14 10:06:15 +13:00
cc-crop-area.c Chain up to parent finalize() 2019-10-14 09:56:08 +02:00
cc-crop-area.h user-accounts: Replace ifdefs with #pragma once 2018-06-01 11:04:18 +00:00
cc-fingerprint-dialog.c fingerprint-dialog: Properly handle claiming errors if we're already claiming 2021-02-02 11:45:22 +13:00
cc-fingerprint-dialog.h user-accounts: Implement new designed fingerprint dialog 2020-06-26 01:54:04 +00:00
cc-fingerprint-dialog.ui fingerprint-dialog: Wiggle the enroll status label on retry events 2020-06-26 01:54:04 +00:00
cc-fingerprint-manager.c fingerprint-manager: Add state for state updating 2020-06-26 01:54:04 +00:00
cc-fingerprint-manager.h fingerprint-manager: Add state for state updating 2020-06-26 01:54:04 +00:00
cc-login-history-dialog.c Simplify usage of g_variant_iter_loop 2019-11-27 21:25:34 +00:00
cc-login-history-dialog.h user-accounts: Rename UmHistoryDialog to CcLoginHistoryDialog 2018-11-08 13:17:13 +00:00
cc-login-history-dialog.ui user-accounts: Rename UmHistoryDialog to CcLoginHistoryDialog 2018-11-08 13:17:13 +00:00
cc-password-dialog.c user-accounts: Fix password dialog crashes 2019-11-11 03:51:12 +00:00
cc-password-dialog.h user-accounts: Rename UmPasswordDialog to CcPasswordDialog 2018-11-07 12:37:51 +13:00
cc-password-dialog.ui user-accounts: Fix password dialog crashes 2019-11-11 03:51:12 +00:00
cc-realm-manager.c user-accounts: Connect signals with g_signal_connect_object in swapped form 2020-03-30 16:18:50 +13:00
cc-realm-manager.h user-accounts: Rename UmRealmManager to CcRealmManager 2018-11-14 10:10:14 +13:00
cc-user-image.c user-accounts: Always generate user avatars 2020-02-17 15:04:25 +01:00
cc-user-image.h user-accounts: Rename UmUserImage to CcUserImage 2018-11-14 10:06:15 +13:00
cc-user-panel.c user-accounts: Implement new designed fingerprint dialog 2020-06-26 01:54:04 +00:00
cc-user-panel.h user-accounts: Fix namespace of CcUserPanel 2018-11-06 16:00:36 +13:00
cc-user-panel.ui user-accounts: Add a launcher for parental controls app 2020-06-17 12:56:43 +01:00
fingerprint-strings.h user-accounts: Replace ifdefs with #pragma once 2018-06-01 11:04:18 +00:00
meson.build user-accounts: Implement new designed fingerprint dialog 2020-06-26 01:54:04 +00:00
org.gnome.controlcenter.user-accounts.policy.in build: Migrate from Intltool to Gettext 2018-01-23 10:49:31 +01:00
pw-utils.c user-accounts: Fix libpwquality error handling 2018-09-10 22:04:23 +00:00
pw-utils.h user-accounts: Replace ifdefs with #pragma once 2018-06-01 11:04:18 +00:00
run-passwd.c Fix minor typos 2020-07-20 10:38:09 +03:00
run-passwd.h user-accounts: Replace ifdefs with #pragma once 2018-06-01 11:04:18 +00:00
user-accounts.gresource.xml user-accounts: Implement new designed fingerprint dialog 2020-06-26 01:54:04 +00:00
user-utils.c user-account: don't segfault trying to get the user initials 2020-08-19 10:26:08 +12:00
user-utils.h user-accounts: Check username validity over usermod 2019-08-26 16:26:45 +03:00