[glom] Added an accessible name for the mode_data notebook



commit 737f0a679e7a4dff9913a16ab392923bf44cbf5f
Author: Armin Burgmeier <armin arbur net>
Date:   Fri May 29 19:34:11 2009 +0200

    Added an accessible name for the mode_data notebook
    
    	* glom/mode_data/notebook_data.cc: Added an accessible name for the
    	notebook, so that it can be accessed via LDTP.
---
 ChangeLog                       |    5 +++++
 glom/mode_data/notebook_data.cc |    3 +++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8625c8c..6fc6da7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-27  Armin Burgmeier  <armin openismus com>
+
+	* glom/mode_data/notebook_data.cc: Added an accessible name for the
+	notebook, so that it can be accessed via LDTP.
+
 2009-05-28  Murray Cumming  <murrayc murrayc com>
 
 	* configure.ac: Remove the mention of the eggcolumnchooser subdirectory, to 
diff --git a/glom/mode_data/notebook_data.cc b/glom/mode_data/notebook_data.cc
index 1909a82..0e76bbd 100644
--- a/glom/mode_data/notebook_data.cc
+++ b/glom/mode_data/notebook_data.cc
@@ -34,6 +34,9 @@ Notebook_Data::Notebook_Data()
   pages().push_back(Gtk::Notebook_Helpers::TabElem(m_Box_Details, _("Details")));
   m_iPage_Details = 1;
 
+  // Set accessible name for the notebook, to be able to access it via LDTP
+  get_accessible()->set_name(_("List Or Details View"));
+
 
   //Connect signals:
 



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