diff options
author | Mengjie Yu <meng-jie.yu@sun.com> | 2004-12-01 13:55:39 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2004-12-01 13:55:39 +0800 |
commit | 604919b2ce39088d0e458eb193c064a027569504 (patch) | |
tree | ebc88ee1196085669c6cc2b338557dd66c4d03f0 /mail/em-format-html-display.c | |
parent | 80f08642d2c4dc8636e9fb90c935734703a54c78 (diff) | |
download | gsoc2013-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-format-html-display.c')
-rw-r--r-- | mail/em-format-html-display.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c index 5d58bf63b6..dee72303d6 100644 --- a/mail/em-format-html-display.c +++ b/mail/em-format-html-display.c @@ -1213,6 +1213,7 @@ efhd_attachment_button(EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObje { NULL, 0, 0 }, { "text/uri-list", 0, 1 }, }; + AtkObject *a11y; /* FIXME: handle default shown case */ d(printf("adding attachment button/content\n")); @@ -1292,6 +1293,11 @@ efhd_attachment_button(EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObje button = gtk_button_new(); /*GTK_WIDGET_UNSET_FLAGS(button, GTK_CAN_FOCUS);*/ gtk_container_add((GtkContainer *)button, gtk_arrow_new(GTK_ARROW_DOWN, GTK_SHADOW_NONE)); + + a11y = gtk_widget_get_accessible (button); + atk_object_set_name (a11y, _("Attachment Button")); + + g_signal_connect(button, "button_press_event", G_CALLBACK(efhd_attachment_popup), info); g_signal_connect(button, "popup_menu", G_CALLBACK(efhd_attachment_popup_menu), info); g_signal_connect(button, "clicked", G_CALLBACK(efhd_attachment_popup_menu), info); |