summaryrefslogtreecommitdiff
path: root/client/gtk.c
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@kodafritt.se>2014-02-16 00:55:04 +0100
committerSamuel Lidén Borell <samuel@kodafritt.se>2014-02-16 00:55:04 +0100
commita915f5e100719efddae34f4b085875c9c3321a31 (patch)
tree993c37d7aeaff00b19b931a7eaae268619b518b5 /client/gtk.c
parentc700ee0af512c04f5bae5b9501fdc5b5607a95ba (diff)
downloadfribid-a915f5e100719efddae34f4b085875c9c3321a31.tar.gz
fribid-a915f5e100719efddae34f4b085875c9c3321a31.tar.bz2
fribid-a915f5e100719efddae34f4b085875c9c3321a31.zip
Focus password entry again if the password was incorrect
Diffstat (limited to 'client/gtk.c')
-rw-r--r--client/gtk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/gtk.c b/client/gtk.c
index dda8cbb..46b7d6d 100644
--- a/client/gtk.c
+++ b/client/gtk.c
@@ -699,6 +699,9 @@ bool platform_choosePassword(char *password, long password_maxlen) {
}
}
+void platform_focusPassword() {
+ gtk_widget_grab_focus(GTK_WIDGET(passwordEntry));
+}
void platform_showError(TokenError error) {
assert(error != TokenError_Success);