aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-passwords.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-passwords.c')
-rw-r--r--e-util/e-passwords.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/e-util/e-passwords.c b/e-util/e-passwords.c
index 6fe405ee50..f799796818 100644
--- a/e-util/e-passwords.c
+++ b/e-util/e-passwords.c
@@ -420,6 +420,7 @@ ep_ask_password(EPassMsg *msg)
GtkWidget *vbox;
int type = msg->flags & E_PASSWORDS_REMEMBER_MASK;
int noreply = msg->noreply;
+ AtkObject *a11y;
msg->noreply = 1;
@@ -442,6 +443,9 @@ ep_ask_password(EPassMsg *msg)
gtk_container_set_border_width((GtkContainer *)vbox, 6);
msg->entry = gtk_entry_new ();
+
+ a11y = gtk_widget_get_accessible (msg->entry);
+ atk_object_set_description (a11y, msg->prompt);
gtk_entry_set_visibility ((GtkEntry *)msg->entry, !(msg->flags & E_PASSWORDS_SECRET));
gtk_entry_set_activates_default((GtkEntry *)msg->entry, TRUE);
gtk_box_pack_start (GTK_BOX (vbox), msg->entry, TRUE, FALSE, 3);