aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.c
diff options
context:
space:
mode:
authorMengjie Yu <meng-jie.yu@sun.com>2004-12-01 13:55:39 +0800
committerHarry Lu <haip@src.gnome.org>2004-12-01 13:55:39 +0800
commit604919b2ce39088d0e458eb193c064a027569504 (patch)
treeebc88ee1196085669c6cc2b338557dd66c4d03f0 /mail/mail-account-gui.c
parent80f08642d2c4dc8636e9fb90c935734703a54c78 (diff)
downloadgsoc2013-evolution-604919b2ce39088d0e458eb193c064a027569504.tar.gz
gsoc2013-evolution-604919b2ce39088d0e458eb193c064a027569504.tar.zst
gsoc2013-evolution-604919b2ce39088d0e458eb193c064a027569504.zip
add mnemonic for buttons. add atk name for the popup button. add access
2004-12-01 Mengjie Yu <meng-jie.yu@sun.com> * em-account-editor.c: (emae_option_toggle), (emae_receive_options_item):add mnemonic for buttons. * em-format-html-display.c: (efhd_attachment_button):add atk name for the popup button. * mail-account-gui.c: (mail_account_gui_build_extra_conf):add access key for checkbox. * message-list.c: (message_list_construct):add a atk name for the message list. svn path=/trunk/; revision=28029
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r--mail/mail-account-gui.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index 7f11421929..1335af7833 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -1091,7 +1091,7 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string)
enable_widget = path_label;
} else {
/* make a new label */
- label = gtk_label_new (entries[i].text);
+ label = gtk_label_new_with_mnemonic (entries[i].text);
gtk_table_resize (cur_table, cur_table->nrows + 1, 2);
gtk_table_attach (cur_table, label, 0, 2, rows, rows + 1,
GTK_EXPAND | GTK_FILL, 0, 0, 0);
@@ -1106,7 +1106,7 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string)
GtkWidget *checkbox;
gboolean active;
- checkbox = gtk_check_button_new_with_label (entries[i].text);
+ checkbox = gtk_check_button_new_with_mnemonic (entries[i].text);
if (url)
active = camel_url_get_param (url, entries[i].name) != NULL;
else
@@ -1143,9 +1143,10 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string)
entry = path;
} else {
/* make a new text entry with label */
- label = gtk_label_new (entries[i].text);
+ label = gtk_label_new_with_mnemonic (entries[i].text);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.0);
entry = gtk_entry_new ();
+ gtk_label_set_mnemonic_widget (label, entry);
gtk_table_attach (cur_table, label, 0, 1, rows, rows + 1,
GTK_FILL, 0, 0, 0);
@@ -1211,7 +1212,7 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string)
}
hbox = gtk_hbox_new (FALSE, 0);
- checkbox = gtk_check_button_new_with_label (pre);
+ checkbox = gtk_check_button_new_with_mnemonic (pre);
g_free (pre);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (checkbox), enable);
adj = gtk_adjustment_new (def, min, max, 1, 1, 1);