[gnome-software] auth-dialog: Set focus to PIN entry when PIN required
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] auth-dialog: Set focus to PIN entry when PIN required
- Date: Sun, 3 Jul 2016 23:53:52 +0000 (UTC)
commit 45884dfe6931cfcf9b3e0e3284d9e24e81dc7d9b
Author: Robert Ancell <robert ancell canonical com>
Date: Mon Jul 4 11:52:29 2016 +1200
auth-dialog: Set focus to PIN entry when PIN required
src/gs-auth-dialog.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-auth-dialog.c b/src/gs-auth-dialog.c
index bc33534..55785a7 100644
--- a/src/gs-auth-dialog.c
+++ b/src/gs-auth-dialog.c
@@ -125,6 +125,7 @@ gs_auth_dialog_authenticate_cb (GObject *source,
GS_PLUGIN_ERROR,
GS_PLUGIN_ERROR_PIN_REQUIRED)) {
gtk_stack_set_visible_child_name (GTK_STACK (dialog->stack), "2fa");
+ gtk_widget_grab_focus (dialog->entry_pin);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]