aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorLi Yuan <li.yuan@sun.com>2005-08-04 12:56:54 +0800
committerLi Yuan <liyuan@src.gnome.org>2005-08-04 12:56:54 +0800
commit1b28d2f6d535e314f29e30a68b2386716053914a (patch)
tree0eb2740377599b84581fcdce95d5c30a79f70ad8 /widgets
parent848a963fd53dc2f4eb9b6b95ad389d5a6fe162fe (diff)
downloadgsoc2013-evolution-1b28d2f6d535e314f29e30a68b2386716053914a.tar.gz
gsoc2013-evolution-1b28d2f6d535e314f29e30a68b2386716053914a.tar.zst
gsoc2013-evolution-1b28d2f6d535e314f29e30a68b2386716053914a.zip
Add a11y name to the left table of config dialog. Add name to the left
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. * 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
Diffstat (limited to 'widgets')
-rw-r--r--widgets/ChangeLog10
-rw-r--r--widgets/menus/gal-view-new-dialog.glade10
-rw-r--r--widgets/misc/e-multi-config-dialog.c2
-rw-r--r--widgets/table/e-table-config.c16
4 files changed, 35 insertions, 3 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog
index 002d4bd31a..8baa8229be 100644
--- a/widgets/ChangeLog
+++ b/widgets/ChangeLog
@@ -1,3 +1,13 @@
+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.
+ * 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.
+
2005-07-28 Mengjie Yu <meng-jie.yu@sun.com>
* misc/e-attachment-bar.c: (update_remote_file):
diff --git a/widgets/menus/gal-view-new-dialog.glade b/widgets/menus/gal-view-new-dialog.glade
index 70922f5dc5..1f8eec55ee 100644
--- a/widgets/menus/gal-view-new-dialog.glade
+++ b/widgets/menus/gal-view-new-dialog.glade
@@ -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>
diff --git a/widgets/misc/e-multi-config-dialog.c b/widgets/misc/e-multi-config-dialog.c
index fb850bc597..a5ac07d17c 100644
--- a/widgets/misc/e-multi-config-dialog.c
+++ b/widgets/misc/e-multi-config-dialog.c
@@ -68,7 +68,7 @@ static char *list_e_table_spec =
" cell=\"vbox\""
" minimum_width=\"32\""
" resizable=\"true\""
- " _title=\"blah\""
+ " _title=\"Category\""
" compare=\"string\"/>"
" <ETableState>"
" <column source=\"0\"/>"
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