aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor.c
diff options
context:
space:
mode:
authorHao Sheng <hao.sheng@sun.com>2004-11-25 15:42:14 +0800
committerHarry Lu <haip@src.gnome.org>2004-11-25 15:42:14 +0800
commit8ac90709191dc3bbd8927726b0b3f47d83a3ee05 (patch)
tree755afb7cf41336d7dcf96d68ffbde2c57aebf71a /addressbook/gui/contact-editor/e-contact-editor.c
parent381a6366385ca168f6a169ab57c66d55cb46960e (diff)
downloadgsoc2013-evolution-8ac90709191dc3bbd8927726b0b3f47d83a3ee05.tar
gsoc2013-evolution-8ac90709191dc3bbd8927726b0b3f47d83a3ee05.tar.gz
gsoc2013-evolution-8ac90709191dc3bbd8927726b0b3f47d83a3ee05.tar.bz2
gsoc2013-evolution-8ac90709191dc3bbd8927726b0b3f47d83a3ee05.tar.lz
gsoc2013-evolution-8ac90709191dc3bbd8927726b0b3f47d83a3ee05.tar.xz
gsoc2013-evolution-8ac90709191dc3bbd8927726b0b3f47d83a3ee05.tar.zst
gsoc2013-evolution-8ac90709191dc3bbd8927726b0b3f47d83a3ee05.zip
add "labelled by" between entry and label, make accessbility work. add
2004-11-25 Hao Sheng <hao.sheng@sun.com> * gui/contact-editor/contact-editor.glade: add "labelled by" between entry and label, make accessbility work. * gui/contact-editor/e-contact-editor.c: (e_contact_editor_create_web): add accessible name to e_url_entry. svn path=/trunk/; revision=27986
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.c')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index f87441a0f9..49103d12af 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -3367,6 +3367,12 @@ e_contact_editor_create_web(gchar *name,
gint int1, gint int2)
{
GtkWidget *widget = e_url_entry_new ();
+ AtkObject *a11y = gtk_widget_get_accessible (e_url_entry_get_entry (widget));
+
+ if (a11y != NULL) {
+ atk_object_set_name (a11y, string1);
+ }
+
gtk_widget_show (widget);
return widget;
}