[dots] Add accessible descriptions to the TextView and Revison line
- From: Fernando Herrera de las Heras <fherrera src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dots] Add accessible descriptions to the TextView and Revison line
- Date: Wed, 1 Dec 2010 21:33:59 +0000 (UTC)
commit 702da611ccf740c0f136b50e222c77a4a9cb03a3
Author: Fernando Herrera <fherrera onirica com>
Date: Wed Dec 1 21:37:57 2010 +0100
Add accessible descriptions to the TextView and Revison line
data/app_window.xml | 104 +++++++++++++++++++++++++++------------------------
1 files changed, 55 insertions(+), 49 deletions(-)
---
diff --git a/data/app_window.xml b/data/app_window.xml
index 8e0ad86..a79b669 100644
--- a/data/app_window.xml
+++ b/data/app_window.xml
@@ -2,20 +2,24 @@
<interface>
<requires lib="gtk+" version="2.16"/>
<!-- interface-naming-policy project-wide -->
- <object class="GtkMessageDialog" id="notext-dialog">
+ <object class="GtkMessageDialog" id="table_error_dialog">
<property name="border_width">5</property>
<property name="type_hint">normal</property>
<property name="skip_taskbar_hint">True</property>
- <property name="message_type">warning</property>
+ <property name="message_type">error</property>
<property name="buttons">ok</property>
- <property name="text" translatable="yes">Cannot extract text from the document.</property>
- <property name="secondary_text" translatable="yes">Make sure that the document is valid and does contain text</property>
+ <property name="text" translatable="yes">The selected table is not valid</property>
+ <property name="secondary_text" translatable="yes">The selected table cannot be used by
+liblouisxml. Please make sure that if you
+are using "include" directive, those files
+are placed in the same directory as the table</property>
+ <property name="secondary_use_markup">True</property>
<child internal-child="vbox">
- <object class="GtkVBox" id="dialog-vbox1">
+ <object class="GtkVBox" id="dialog-vbox3">
<property name="visible">True</property>
<property name="spacing">2</property>
<child internal-child="action_area">
- <object class="GtkHButtonBox" id="dialog-action_area1">
+ <object class="GtkHButtonBox" id="dialog-action_area3">
<property name="visible">True</property>
<property name="layout_style">end</property>
<child>
@@ -34,39 +38,6 @@
</object>
</child>
</object>
- <object class="GtkAction" id="action_help">
- <property name="stock_id">gtk-help</property>
- <signal name="activate" handler="_onHelp" swapped="no"/>
- </object>
- <object class="GtkAction" id="action_about">
- <property name="stock_id">gtk-about</property>
- <signal name="activate" handler="_onAbout" swapped="no"/>
- </object>
- <object class="GtkAction" id="action_print">
- <property name="stock_id">gtk-print</property>
- <property name="sensitive">False</property>
- <signal name="activate" handler="_onPrint" swapped="no"/>
- </object>
- <object class="GtkAction" id="action_quit">
- <property name="stock_id">gtk-quit</property>
- <signal name="activate" handler="_onQuit" swapped="no"/>
- </object>
- <object class="GtkAction" id="action_save_as">
- <property name="stock_id">gtk-save-as</property>
- <property name="sensitive">False</property>
- <signal name="activate" handler="_onSaveAs" swapped="no"/>
- </object>
- <object class="GtkAction" id="action_save">
- <property name="stock_id">gtk-save</property>
- <property name="sensitive">False</property>
- <signal name="activate" handler="_onSave" swapped="no"/>
- </object>
- <object class="GtkAction" id="action_open">
- <property name="tooltip">Open a file</property>
- <property name="stock_id">gtk-open</property>
- <signal name="activate" handler="_onOpen" swapped="no"/>
- </object>
- <object class="GtkActionGroup" id="file_actions"/>
<object class="GtkWindow" id="window1">
<property name="default_width">480</property>
<property name="default_height">360</property>
@@ -348,6 +319,12 @@
<property name="editable">False</property>
<property name="left_margin">25</property>
<property name="right_margin">25</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="textview1-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes">Document view</property>
+ <property name="AtkObject::accessible-description" translatable="yes">View of the transcripted text</property>
+ </object>
+ </child>
</object>
</child>
</object>
@@ -387,24 +364,53 @@
</object>
</child>
</object>
- <object class="GtkMessageDialog" id="table_error_dialog">
+ <object class="GtkActionGroup" id="file_actions"/>
+ <object class="GtkAction" id="action_open">
+ <property name="tooltip">Open a file</property>
+ <property name="stock_id">gtk-open</property>
+ <signal name="activate" handler="_onOpen" swapped="no"/>
+ </object>
+ <object class="GtkAction" id="action_save">
+ <property name="stock_id">gtk-save</property>
+ <property name="sensitive">False</property>
+ <signal name="activate" handler="_onSave" swapped="no"/>
+ </object>
+ <object class="GtkAction" id="action_save_as">
+ <property name="stock_id">gtk-save-as</property>
+ <property name="sensitive">False</property>
+ <signal name="activate" handler="_onSaveAs" swapped="no"/>
+ </object>
+ <object class="GtkAction" id="action_quit">
+ <property name="stock_id">gtk-quit</property>
+ <signal name="activate" handler="_onQuit" swapped="no"/>
+ </object>
+ <object class="GtkAction" id="action_print">
+ <property name="stock_id">gtk-print</property>
+ <property name="sensitive">False</property>
+ <signal name="activate" handler="_onPrint" swapped="no"/>
+ </object>
+ <object class="GtkAction" id="action_about">
+ <property name="stock_id">gtk-about</property>
+ <signal name="activate" handler="_onAbout" swapped="no"/>
+ </object>
+ <object class="GtkAction" id="action_help">
+ <property name="stock_id">gtk-help</property>
+ <signal name="activate" handler="_onHelp" swapped="no"/>
+ </object>
+ <object class="GtkMessageDialog" id="notext-dialog">
<property name="border_width">5</property>
<property name="type_hint">normal</property>
<property name="skip_taskbar_hint">True</property>
- <property name="message_type">error</property>
+ <property name="message_type">warning</property>
<property name="buttons">ok</property>
- <property name="text" translatable="yes">The selected table is not valid</property>
- <property name="secondary_text" translatable="yes">The selected table cannot be used by
-liblouisxml. Please make sure that if you
-are using "include" directive, those files
-are placed in the same directory as the table</property>
- <property name="secondary_use_markup">True</property>
+ <property name="text" translatable="yes">Cannot extract text from the document.</property>
+ <property name="secondary_text" translatable="yes">Make sure that the document is valid and does contain text</property>
<child internal-child="vbox">
- <object class="GtkVBox" id="dialog-vbox3">
+ <object class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property>
<property name="spacing">2</property>
<child internal-child="action_area">
- <object class="GtkHButtonBox" id="dialog-action_area3">
+ <object class="GtkHButtonBox" id="dialog-action_area1">
<property name="visible">True</property>
<property name="layout_style">end</property>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]