aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.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/em-account-editor.c
parent80f08642d2c4dc8636e9fb90c935734703a54c78 (diff)
downloadgsoc2013-evolution-604919b2ce39088d0e458eb193c064a027569504.tar
gsoc2013-evolution-604919b2ce39088d0e458eb193c064a027569504.tar.gz
gsoc2013-evolution-604919b2ce39088d0e458eb193c064a027569504.tar.bz2
gsoc2013-evolution-604919b2ce39088d0e458eb193c064a027569504.tar.lz
gsoc2013-evolution-604919b2ce39088d0e458eb193c064a027569504.tar.xz
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/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index c4857432d4..6542911b18 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -1639,10 +1639,8 @@ emae_option_toggle(EMAccountEditorService *service, CamelURL *url, const char *t
GtkWidget *w;
/* FIXME: how do we get the default value ever? */
- w = g_object_new(gtk_check_button_get_type(),
- "label", text,
- "active", camel_url_get_param(url, name) != NULL,
- NULL);
+ w = gtk_check_button_new_with_mnemonic (text);
+ g_object_set_data ((GObject *)w, "active", camel_url_get_param (url, name) != NULL);
g_object_set_data((GObject *)w, "option-name", (void *)name);
g_signal_connect(w, "toggled", G_CALLBACK(emae_option_toggle_changed), service);
gtk_widget_show(w);
@@ -1785,7 +1783,7 @@ emae_receive_options_item(EConfig *ec, EConfigItem *item, struct _GtkWidget *par
row = ((GtkTable *)parent)->nrows;
box = gtk_hbox_new(FALSE, 4);
- w = gtk_check_button_new_with_label(_("Automatically check for _new mail every"));
+ w = gtk_check_button_new_with_mnemonic (_("Automatically check for _new mail every"));
emae_account_toggle_widget(emae, (GtkToggleButton *)w, E_ACCOUNT_SOURCE_AUTO_CHECK);
gtk_box_pack_start((GtkBox *)box, w, FALSE, FALSE, 0);
@@ -2067,7 +2065,7 @@ static EMConfigItem emae_editor_items[] = {
{ E_CONFIG_SECTION, "10.receive/30.auth", "vbox179", emae_widget_glade },
/* Most sections for this is auto-generated fromt the camel config */
- { E_CONFIG_PAGE, "20.receive_options", N_("Receiving Options"), },
+ { E_CONFIG_PAGE, "20.receive_options", N_("Receiving O_ptions"), },
{ E_CONFIG_SECTION_TABLE, "20.receive_options/10.mailcheck", N_("Checking for New Mail"), },
{ E_CONFIG_ITEM_TABLE, "20.receive_options/10.mailcheck/00.autocheck", NULL, emae_receive_options_item, },
@@ -2145,7 +2143,7 @@ static EMConfigItem emae_druid_items[] = {
{ E_CONFIG_SECTION, "10.receive/30.auth", "vbox179", emae_widget_glade },
/* Most sections for this is auto-generated fromt the camel config */
- { E_CONFIG_PAGE, "20.receive_options", N_("Receiving Options"), },
+ { E_CONFIG_PAGE, "20.receive_options", N_("Receiving O_ptions"), },
{ E_CONFIG_SECTION_TABLE, "20.receive_options/10.mailcheck", N_("Checking for New Mail"), },
{ E_CONFIG_ITEM_TABLE, "20.receive_options/10.mailcheck/00.autocheck", NULL, emae_receive_options_item, },