aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-passwords.c
diff options
context:
space:
mode:
authorMengjie Yu <meng-jie.yu@sun.com>2004-12-01 13:51:51 +0800
committerHarry Lu <haip@src.gnome.org>2004-12-01 13:51:51 +0800
commit80f08642d2c4dc8636e9fb90c935734703a54c78 (patch)
tree76d9657a5b8987a1d20d71f423eb6e6f78716923 /e-util/e-passwords.c
parentce6b27c260eac8a9f3c10035b413b80de5a07647 (diff)
downloadgsoc2013-evolution-80f08642d2c4dc8636e9fb90c935734703a54c78.tar
gsoc2013-evolution-80f08642d2c4dc8636e9fb90c935734703a54c78.tar.gz
gsoc2013-evolution-80f08642d2c4dc8636e9fb90c935734703a54c78.tar.bz2
gsoc2013-evolution-80f08642d2c4dc8636e9fb90c935734703a54c78.tar.lz
gsoc2013-evolution-80f08642d2c4dc8636e9fb90c935734703a54c78.tar.xz
gsoc2013-evolution-80f08642d2c4dc8636e9fb90c935734703a54c78.tar.zst
gsoc2013-evolution-80f08642d2c4dc8636e9fb90c935734703a54c78.zip
add mnemonic for label. add description for password dialog.
2004-12-01 Mengjie Yu <meng-jie.yu@sun.com> * e-config.c: (ec_rebuild):add mnemonic for label. * e-passwords.c: (ep_ask_password):add description for password dialog. svn path=/trunk/; revision=28028
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);