aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
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
parentce6b27c260eac8a9f3c10035b413b80de5a07647 (diff)
downloadgsoc2013-evolution-80f08642d2c4dc8636e9fb90c935734703a54c78.tar.gz
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')
-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);
gstreamer0.10-removal&id=b966b44affc74e28b51fd03fb58f4b2052cc7e9f'>Upgrade to 1.7.7ache2005-03-114-15/+51 * Use += for CONFIGURE_ARGS to help slave portsache2004-03-311-1/+1 * - Use USE_ICONV knobkrion2004-03-311-1/+1