From 8ac90709191dc3bbd8927726b0b3f47d83a3ee05 Mon Sep 17 00:00:00 2001 From: Hao Sheng Date: Thu, 25 Nov 2004 07:42:14 +0000 Subject: add "labelled by" between entry and label, make accessbility work. add 2004-11-25 Hao Sheng * 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 --- addressbook/ChangeLog | 8 + .../gui/contact-editor/contact-editor.glade | 164 +++++++++++++++++++++ addressbook/gui/contact-editor/e-contact-editor.c | 6 + 3 files changed, 178 insertions(+) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 5b7aac5e6b..55804d797a 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,11 @@ +2004-11-25 Hao Sheng + + * 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. + 2004-11-22 Joan Sanfeliu * gui/component/apps_evolution_addressbook.schemas.in.in: diff --git a/addressbook/gui/contact-editor/contact-editor.glade b/addressbook/gui/contact-editor/contact-editor.glade index 2f1cd4e10f..b372df2f31 100644 --- a/addressbook/gui/contact-editor/contact-editor.glade +++ b/addressbook/gui/contact-editor/contact-editor.glade @@ -10,6 +10,11 @@ False True False + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST False @@ -31,6 +36,7 @@ gtk-help True GTK_RELIEF_NORMAL + True -11 @@ -43,6 +49,7 @@ gtk-cancel True GTK_RELIEF_NORMAL + True -6 @@ -56,6 +63,7 @@ gtk-ok True GTK_RELIEF_NORMAL + True -5 @@ -97,6 +105,7 @@ True True GTK_RELIEF_NORMAL + True @@ -161,6 +170,9 @@ True * False + + + 1 @@ -227,6 +239,7 @@ _Categories True GTK_RELIEF_NORMAL + True 0 @@ -249,6 +262,9 @@ True * False + + + 1 @@ -288,6 +304,9 @@ False True False + + + @@ -344,6 +363,7 @@ Full _Name... True GTK_RELIEF_NORMAL + True 0 @@ -492,6 +512,9 @@ True * False + + + 1 @@ -591,6 +614,9 @@ True * False + + + 1 @@ -612,6 +638,9 @@ True * False + + + 3 @@ -633,6 +662,9 @@ True * False + + + 3 @@ -650,6 +682,7 @@ Wants to receive HTML mail True GTK_RELIEF_NORMAL + True False False True @@ -732,6 +765,9 @@ True * False + + + 1 @@ -753,6 +789,9 @@ True * False + + + 1 @@ -774,6 +813,9 @@ True * False + + + 3 @@ -795,6 +837,9 @@ True * False + + + 3 @@ -1065,6 +1110,9 @@ True * False + + + 1 @@ -1086,6 +1134,9 @@ True * False + + + 1 @@ -1185,6 +1236,9 @@ True * False + + + 3 @@ -1206,6 +1260,9 @@ True * False + + + 3 @@ -1259,6 +1316,7 @@ True True GTK_RELIEF_NONE + True @@ -1374,6 +1432,9 @@ True * False + + + 1 @@ -1443,6 +1504,9 @@ True * False + + + 1 @@ -1512,6 +1576,9 @@ True * False + + + 3 @@ -1581,6 +1648,9 @@ True * False + + + 3 @@ -1775,6 +1845,7 @@ True e_contact_editor_create_web + Home Page: 0 0 Tue, 13 Apr 2004 22:04:21 GMT @@ -1792,6 +1863,7 @@ True e_contact_editor_create_web + Calendar: 0 0 Tue, 13 Apr 2004 22:04:51 GMT @@ -1809,6 +1881,7 @@ True e_contact_editor_create_web + Free/Busy: 0 0 Tue, 13 Apr 2004 22:05:05 GMT @@ -1826,6 +1899,7 @@ True e_contact_editor_create_web + Video Chat: 0 0 Tue, 13 Apr 2004 22:05:30 GMT @@ -1867,6 +1941,7 @@ True e_contact_editor_create_web + Web Log: 0 0 Tue, 13 Apr 2004 22:04:21 GMT @@ -1961,6 +2036,9 @@ True * False + + + 1 @@ -2006,6 +2084,9 @@ True * False + + + 3 @@ -2051,6 +2132,9 @@ True * False + + + 1 @@ -2096,6 +2180,9 @@ True * False + + + 3 @@ -2141,6 +2228,9 @@ True * False + + + 1 @@ -2186,6 +2276,9 @@ True * False + + + 3 @@ -2256,6 +2349,8 @@ True True True + False + True GTK_JUSTIFY_LEFT GTK_WRAP_NONE True @@ -2266,6 +2361,9 @@ 0 0 + + + @@ -2360,6 +2458,9 @@ True * False + + + 1 @@ -2381,6 +2482,9 @@ True * False + + + 1 @@ -2587,6 +2691,9 @@ True * False + + + 3 @@ -2632,6 +2739,9 @@ True * False + + + 3 @@ -2677,6 +2787,9 @@ True * False + + + 3 @@ -2722,6 +2835,9 @@ True * False + + + 3 @@ -2770,6 +2886,8 @@ True True True + False + True GTK_JUSTIFY_LEFT GTK_WRAP_NONE True @@ -2780,6 +2898,9 @@ 0 0 + + + @@ -2803,6 +2924,9 @@ True * False + + + 1 @@ -2917,6 +3041,9 @@ True * False + + + 3 @@ -2962,6 +3089,9 @@ True * False + + + 3 @@ -3007,6 +3137,9 @@ True * False + + + 3 @@ -3052,6 +3185,9 @@ True * False + + + 3 @@ -3100,6 +3236,8 @@ True True True + False + True GTK_JUSTIFY_LEFT GTK_WRAP_NONE True @@ -3110,6 +3248,9 @@ 0 0 + + + @@ -3133,6 +3274,9 @@ True * False + + + 1 @@ -3247,6 +3391,9 @@ True * False + + + 3 @@ -3292,6 +3439,9 @@ True * False + + + 3 @@ -3361,6 +3511,9 @@ True * False + + + 3 @@ -3406,6 +3559,9 @@ True * False + + + 3 @@ -3430,6 +3586,8 @@ True True True + False + True GTK_JUSTIFY_LEFT GTK_WRAP_NONE True @@ -3440,6 +3598,9 @@ 0 0 + + + @@ -3463,6 +3624,9 @@ True * False + + + 1 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; } -- cgit v1.2.3