aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-config.c2
-rw-r--r--e-util/e-passwords.c4
3 files changed, 10 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index d910e8d838..8a8697baa3 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-29 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.
+
2004-11-26 JP Rosevear <jpr@novell.com>
* e-gui-utils.c (e_create_image_widget): get the image directly
diff --git a/e-util/e-config.c b/e-util/e-config.c
index 99cb18382c..01b3eb6ab0 100644
--- a/e-util/e-config.c
+++ b/e-util/e-config.c
@@ -586,7 +586,7 @@ ec_rebuild(EConfig *emp)
page = ((GnomeDruidPageStandard *)w)->vbox;
connect = TRUE;
} else {
- w = gtk_label_new(item->label);
+ w = gtk_label_new_with_mnemonic (item->label);
gtk_widget_show(w);
page = gtk_vbox_new(FALSE, 12);
gtk_container_set_border_width((GtkContainer *)page, 12);
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);