Commit 0098cdfc authored by Guido Gunther's avatar Guido Gunther Committed by Sebastian Krzyszkowiak

system-prompter: Focus password entry

Refocus the password entry when the prompt is shown. Otherwise
the focus is on the button after failed password attempt when
using touch.
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent d90f8fb9
Pipeline #63217 passed with stages
in 37 minutes and 15 seconds
......@@ -261,6 +261,7 @@ phosh_system_prompt_password_async (GcrPrompt *prompt,
if (!gtk_entry_get_text_length (GTK_ENTRY (priv->entry_password)))
gtk_widget_set_sensitive (priv->btn_continue, FALSE);
gtk_widget_set_sensitive (priv->grid, TRUE);
gtk_widget_grab_focus (priv->entry_password);
obj = G_OBJECT (self);
g_object_notify (obj, "password-visible");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment