From 1b28d2f6d535e314f29e30a68b2386716053914a Mon Sep 17 00:00:00 2001
From: Li Yuan
Date: Thu, 4 Aug 2005 04:56:54 +0000
Subject: Add a11y name to the left table of config dialog. Add name to the
left
2005-08-03 Li Yuan
* menus/gal-view-new-dialog.glade:
Add a11y name to the left table of config dialog.
* misc/e-multi-config-dialog.c:
Add name to the left table of preference 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.
svn path=/trunk/; revision=29980
---
widgets/table/e-table-config.c | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
(limited to 'widgets/table/e-table-config.c')
diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c
index 28e3eb0ec7..a2a4d0eb8e 100644
--- a/widgets/table/e-table-config.c
+++ b/widgets/table/e-table-config.c
@@ -553,10 +553,16 @@ GtkWidget *
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 @@ GtkWidget *
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
--
cgit v1.2.3