patch has commit to HEAD



hi

Attach is the patch committed into the HEADCVS.

Best regards
hao.sheng
Index: addressbook/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1891
diff -u -p -r1.1891 ChangeLog
--- addressbook/ChangeLog	17 Jan 2005 02:57:59 -0000	1.1891
+++ addressbook/ChangeLog	18 Jan 2005 06:57:46 -0000
@@ -1,3 +1,10 @@
+2005-01-18 Hao Sheng <hao sheng sun com>
+
+	* gui/contact-editor/contact-editor.glade:
+	add a11y names for widgets named "Image","Anniversary" and "Birthday".
+	* gui/contact-editor/e-contact-editor.c:
+	(e_contact_editor_create_date): add string1 as entry's a11y name.
+
 2005-01-17 Hao Sheng  <hao sheng sun com>
 
 	* gui/contact-editor/contact-editor.glade:
Index: widgets/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/widgets/ChangeLog,v
retrieving revision 1.127
diff -u -p -r1.127 ChangeLog
--- widgets/ChangeLog	12 Nov 2004 13:52:17 -0000	1.127
+++ widgets/ChangeLog	18 Jan 2005 06:57:46 -0000
@@ -1,3 +1,8 @@
+2005-01-18  Hao Sheng  <hao sheng sun com>
+
+	* misc/e-dateedit.[ch]:
+	(e_date_edit_get_entry): return the entry of the date edit.
+
 2004-11-12  JP Rosevear  <jpr novell com>
 
 	* menus/gal-view-menus.c: Convert to G_DEFINE_TYPE
Index: addressbook/gui/contact-editor/contact-editor.glade
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/contact-editor/contact-editor.glade,v
retrieving revision 1.69
diff -u -p -r1.69 contact-editor.glade
--- addressbook/gui/contact-editor/contact-editor.glade	17 Jan 2005 02:58:00 -0000	1.69
+++ addressbook/gui/contact-editor/contact-editor.glade	18 Jan 2005 06:57:48 -0000
@@ -106,6 +106,9 @@
 		      <property name="can_focus">True</property>
 		      <property name="relief">GTK_RELIEF_NORMAL</property>
 		      <property name="focus_on_click">True</property>
+		      <accessibility>
+			<atkproperty name="AtkObject::accessible_name" translatable="yes">Image</atkproperty>
+		      </accessibility>
 
 		      <child>
 			<widget class="Custom" id="image-chooser">
@@ -2550,6 +2553,7 @@
 			<widget class="Custom" id="dateedit-anniversary">
 			  <property name="visible">True</property>
 			  <property name="creation_function">e_contact_editor_create_date</property>
+			  <property name="string1">Anniversary</property>
 			  <property name="int1">0</property>
 			  <property name="int2">0</property>
 			  <property name="last_modification_time">Tue, 13 Apr 2004 23:56:03 GMT</property>
@@ -2568,6 +2572,7 @@
 			<widget class="Custom" id="dateedit-birthday">
 			  <property name="visible">True</property>
 			  <property name="creation_function">e_contact_editor_create_date</property>
+			  <property name="string1">Birthday</property>
 			  <property name="int1">0</property>
 			  <property name="int2">0</property>
 			  <property name="last_modification_time">Tue, 13 Apr 2004 23:55:46 GMT</property>
Index: addressbook/gui/contact-editor/e-contact-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/contact-editor/e-contact-editor.c,v
retrieving revision 1.226
diff -u -p -r1.226 e-contact-editor.c
--- addressbook/gui/contact-editor/e-contact-editor.c	9 Dec 2004 01:42:37 -0000	1.226
+++ addressbook/gui/contact-editor/e-contact-editor.c	18 Jan 2005 06:57:49 -0000
@@ -3468,10 +3468,18 @@ e_contact_editor_create_date(gchar *name
 			     gint int1, gint int2)
 {
 	GtkWidget *widget = e_date_edit_new ();
+	AtkObject *a11y;
+
 	e_date_edit_set_allow_no_date_set (E_DATE_EDIT (widget),
 					   TRUE);
 	e_date_edit_set_show_time (E_DATE_EDIT (widget), FALSE);
 	e_date_edit_set_time (E_DATE_EDIT (widget), -1);
+
+	a11y = gtk_widget_get_accessible (e_date_edit_get_entry (E_DATE_EDIT(widget)));
+	if (a11y != NULL) {
+		atk_object_set_name (a11y, string1);
+	}
+
 	gtk_widget_show (widget);
 	return widget;
 }
Index: widgets/misc/e-dateedit.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-dateedit.c,v
retrieving revision 1.41
diff -u -p -r1.41 e-dateedit.c
--- widgets/misc/e-dateedit.c	1 Nov 2004 05:04:37 -0000	1.41
+++ widgets/misc/e-dateedit.c	18 Jan 2005 06:57:50 -0000
@@ -2002,3 +2002,12 @@ e_date_edit_set_get_time_callback	(EDate
 
 }
 
+GtkWidget *
+e_date_edit_get_entry       (EDateEdit      *dedit)
+{
+	EDateEditPrivate *priv;
+	priv = dedit->priv;
+
+	return GTK_WIDGET(priv->date_entry);
+}
+
Index: widgets/misc/e-dateedit.h
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-dateedit.h,v
retrieving revision 1.17
diff -u -p -r1.17 e-dateedit.h
--- widgets/misc/e-dateedit.h	2 Dec 2002 03:28:22 -0000	1.17
+++ widgets/misc/e-dateedit.h	18 Jan 2005 06:57:50 -0000
@@ -175,4 +175,6 @@ void	   e_date_edit_set_get_time_callbac
 						 gpointer	 data,
 						 GtkDestroyNotify destroy);
 
+GtkWidget* e_date_edit_get_entry       (EDateEdit      *dedit);
+
 #endif
begin:vcard
fn:hao sheng
n:sheng;hao
org:Sun Microsystems China Engineering & Research Institute;Desktop Group
adr:;;10/F Chuangxin Plaza, Tsinghua Science Park;Beijing;;100083;P.R.China
email;internet:hao sheng sun com
title:Software Engineer Intern
tel;work:+8610-82618200-82111
tel;cell:+86-13520134555
version:2.1
end:vcard



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]