summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@kodafritt.se>2014-02-16 00:37:25 +0100
committerSamuel Lidén Borell <samuel@kodafritt.se>2014-02-16 00:37:25 +0100
commitc700ee0af512c04f5bae5b9501fdc5b5607a95ba (patch)
tree48560985ea7bc6ede201ab82a8a24bda42f18658
parent23c4e9661d07eed26a147f9fa3474f9c7c54b795 (diff)
downloadfribid-c700ee0af512c04f5bae5b9501fdc5b5607a95ba.tar.gz
fribid-c700ee0af512c04f5bae5b9501fdc5b5607a95ba.tar.bz2
fribid-c700ee0af512c04f5bae5b9501fdc5b5607a95ba.zip
Give the password entry focus even when signing a text message
-rw-r--r--client/gtk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/gtk.c b/client/gtk.c
index 4371c8a..dda8cbb 100644
--- a/client/gtk.c
+++ b/client/gtk.c
@@ -291,6 +291,9 @@ static void selectDefaultToken(GtkWidget *ignored1, gpointer *ignored2) {
if (newest) {
gtk_tree_model_iter_nth_child(model, &iter, NULL, newest_index);
gtk_combo_box_set_active_iter(tokenCombo, &iter);
+
+ // Now give the password box focus
+ gtk_widget_grab_focus(GTK_WIDGET(passwordEntry));
}
}
}