fingerprint-dialog: Make the operations cancellable

This commit is contained in:
Marco Trevisan (Treviño) 2020-03-26 06:44:03 +01:00 committed by Benjamin Berg
parent e12bfed744
commit 8ace2050f7
3 changed files with 66 additions and 45 deletions

View file

@ -855,7 +855,8 @@ show_user (ActUser *user, CcUserPanel *self)
gtk_widget_set_visible (GTK_WIDGET (self->fingerprint_row), FALSE);
if (show) {
set_fingerprint_row (GTK_WIDGET (self->fingerprint_row),
self->fingerprint_state_label);
self->fingerprint_state_label,
NULL);
}
/* Autologin: show when local account */
@ -1089,7 +1090,8 @@ change_fingerprint (CcUserPanel *self)
fingerprint_button_clicked (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (self))),
GTK_WIDGET (self->fingerprint_row),
self->fingerprint_state_label,
user);
user,
NULL);
}
static void