[evolution-patches] Patch to fix #312451



Hi Harish,

Here is a patch to fix #*312451. *It adds some a11y names to some table in evolution.
Please help me to review it.

Reagrds,
Li
Index: plugins/plugin-manager/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/plugins/plugin-manager/ChangeLog,v
retrieving revision 1.10
diff -u -r1.10 ChangeLog
--- plugins/plugin-manager/ChangeLog	21 Jul 2005 07:07:19 -0000	1.10
+++ plugins/plugin-manager/ChangeLog	3 Aug 2005 09:29:54 -0000
@@ -1,3 +1,8 @@
+2005-08-03  Li Yuan  <li yuan sun com>
+
+	* plugin-manager.c: (org_gnome_plugin_manager_manage):
+	Add a11y name to Plugin Table.
+
 2005-07-21  Not Zed  <NotZed Ximian com>
 
 	* org-gnome-plugin-manager.xml: Remove the tools menu which
Index: plugins/plugin-manager/plugin-manager.c
===================================================================
RCS file: /cvs/gnome/evolution/plugins/plugin-manager/plugin-manager.c,v
retrieving revision 1.1
diff -u -r1.1 plugin-manager.c
--- plugins/plugin-manager/plugin-manager.c	3 Nov 2004 07:28:33 -0000	1.1
+++ plugins/plugin-manager/plugin-manager.c	3 Aug 2005 09:29:55 -0000
@@ -268,6 +268,8 @@
 	}
 	gtk_tree_view_set_model(m->tree, (GtkTreeModel *)m->model);
 
+	atk_object_set_name (gtk_widget_get_accessible ((GtkWidget *)m->tree), _("Plugin"));
+
 	g_object_set_data_full((GObject *)m->dialog, "plugin-manager", m, eppm_free);
 	g_signal_connect(m->dialog, "response", G_CALLBACK(eppm_response), m);
 
Index: widgets/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/widgets/ChangeLog,v
retrieving revision 1.138
diff -u -r1.138 ChangeLog
--- widgets/ChangeLog	29 Jul 2005 04:39:25 -0000	1.138
+++ widgets/ChangeLog	3 Aug 2005 09:29:55 -0000
@@ -1,3 +1,11 @@
+2005-08-03  Li Yuan  <li yuan sun com>
+
+	* menus/gal-view-new-dialog.glade:
+	Add a11y name to the left table of config dialog.
+	* table/e-table-config.c: (e_table_proxy_etable_shown_new),
+	(e_table_proxy_etable_available_new):
+	Add a11y name to "Show Fields" table and "Available Fields" table.
+
 2005-07-28  Mengjie Yu  <meng-jie yu sun com>
 
 	* misc/e-attachment-bar.c: (update_remote_file):
Index: widgets/menus/gal-view-new-dialog.glade
===================================================================
RCS file: /cvs/gnome/evolution/widgets/menus/gal-view-new-dialog.glade,v
retrieving revision 1.5
diff -u -r1.5 gal-view-new-dialog.glade
--- widgets/menus/gal-view-new-dialog.glade	16 Nov 2002 23:46:27 -0000	1.5
+++ widgets/menus/gal-view-new-dialog.glade	3 Aug 2005 09:29:55 -0000
@@ -10,6 +10,11 @@
   <property name="modal">False</property>
   <property name="resizable">True</property>
   <property name="destroy_with_parent">False</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
   <property name="has_separator">True</property>
 
   <child internal-child="vbox">
@@ -31,6 +36,7 @@
 	      <property name="label">gtk-ok</property>
 	      <property name="use_stock">True</property>
 	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
 	      <property name="response_id">0</property>
 	    </widget>
 	  </child>
@@ -43,6 +49,7 @@
 	      <property name="label">gtk-cancel</property>
 	      <property name="use_stock">True</property>
 	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
 	      <property name="response_id">0</property>
 	    </widget>
 	  </child>
@@ -150,6 +157,9 @@
 		  <property name="rules_hint">False</property>
 		  <property name="reorderable">False</property>
 		  <property name="enable_search">True</property>
+		  <accessibility>
+		    <atkproperty name="AtkObject::accessible_name" translatable="yes">Type of View</atkproperty>
+		  </accessibility>
 		</widget>
 	      </child>
 	    </widget>
Index: widgets/misc/e-multi-config-dialog.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-multi-config-dialog.c,v
retrieving revision 1.33
diff -u -r1.33 e-multi-config-dialog.c
--- widgets/misc/e-multi-config-dialog.c	17 Jun 2005 15:20:33 -0000	1.33
+++ widgets/misc/e-multi-config-dialog.c	3 Aug 2005 09:29:55 -0000
@@ -68,7 +68,7 @@
 	"                cell=\"vbox\""
  	"                minimum_width=\"32\""
 	"                resizable=\"true\""
-	"	         _title=\"blah\""
+	"	         _title=\"Category\""
 	"                compare=\"string\"/>"
 	"  <ETableState>"
 	"    <column source=\"0\"/>"
Index: widgets/table/e-table-config.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/table/e-table-config.c,v
retrieving revision 1.70
diff -u -r1.70 e-table-config.c
--- widgets/table/e-table-config.c	23 Jun 2005 09:11:10 -0000	1.70
+++ widgets/table/e-table-config.c	3 Aug 2005 09:29:55 -0000
@@ -553,10 +553,16 @@
 e_table_proxy_etable_shown_new (void)
 {
 	ETableModel *model = NULL;
+	GtkWidget *widget;
+	ETableScrolled *ets;
 
 	model = e_table_subset_variable_new (global_store);
 
-	return e_table_scrolled_new (model, NULL, spec, NULL);
+	widget = e_table_scrolled_new (model, NULL, spec, NULL);
+	ets = E_TABLE_SCROLLED (widget);
+	atk_object_set_name (gtk_widget_get_accessible ((GtkWidget *)ets->table), _("Show Fields"));
+
+	return widget;
 }
 
 GtkWidget *e_table_proxy_etable_available_new (void);
@@ -565,13 +571,19 @@
 e_table_proxy_etable_available_new (void)
 {
 	ETableModel *model;
+	GtkWidget *widget;
+	ETableScrolled *ets;
 
 	model = e_table_without_new (global_store,
 				     NULL, NULL, NULL, NULL, NULL, NULL, NULL);
 
 	e_table_without_show_all (E_TABLE_WITHOUT (model));
 
-	return e_table_scrolled_new (model, NULL, spec, NULL);
+	widget = e_table_scrolled_new (model, NULL, spec, NULL);
+	ets = E_TABLE_SCROLLED (widget);
+	atk_object_set_name (gtk_widget_get_accessible ((GtkWidget *)ets->table), _("Available Fields"));
+
+	return widget;
 }
 
 static void


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