[gnome-control-center/gnome-3-38] fingerprint-dialog: Always call EnrollStop on enrollment completed
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-38] fingerprint-dialog: Always call EnrollStop on enrollment completed
- Date: Mon, 1 Feb 2021 22:46:52 +0000 (UTC)
commit 68cca133bd013771d182e12b20ef2ded7b04c922
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Fri Dec 11 01:24:52 2020 +0100
fingerprint-dialog: Always call EnrollStop on enrollment completed
Even if we got an error we need to always call EnrollStop so don't unset
enrolling_finger status until we're really done with it.
panels/user-accounts/cc-fingerprint-dialog.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/panels/user-accounts/cc-fingerprint-dialog.c b/panels/user-accounts/cc-fingerprint-dialog.c
index bc69b63ac..61b6d61d4 100644
--- a/panels/user-accounts/cc-fingerprint-dialog.c
+++ b/panels/user-accounts/cc-fingerprint-dialog.c
@@ -732,7 +732,6 @@ handle_enroll_signal (CcFingerprintDialog *self,
else
message = _("Failed to enroll new fingerprint");
- self->enrolling_finger = NULL;
set_enroll_result_message (self, ENROLL_STATE_WARNING, message);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]