[ocrfeeder] widgetPresenter: Set the pages (ScrolledWindow) and the box editor accessible names



commit 89b86ea84ead1959d63c749e1d971d1ea0138cf1
Author: Joaquim Rocha <jrocha igalia com>
Date:   Wed Jun 30 18:17:42 2010 +0200

    widgetPresenter: Set the pages (ScrolledWindow) and the box editor accessible names

 studio/widgetPresenter.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/studio/widgetPresenter.py b/studio/widgetPresenter.py
index 1038000..6972abc 100644
--- a/studio/widgetPresenter.py
+++ b/studio/widgetPresenter.py
@@ -115,6 +115,7 @@ class MainWindow:
         
         self.window.add(self.main_box)
         self.main_area_left = gtk.ScrolledWindow()
+        self.main_area_left.get_accessible().set_name(_('Pages'))
         self.main_area_left.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
         self.main_area_left.show()
         
@@ -236,6 +237,7 @@ class BoxEditor(gtk.ScrolledWindow):
     
     def __init__(self, image_width = 0, image_height = 0, pixbuf = 0, x = 0, y = 0, width = 0, height = 0, ocr_engines_list = []):
         super(BoxEditor, self).__init__()
+        self.get_accessible().set_name(_('Area editor'))
         self.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
         self.contents = gtk.VBox()
         self.pixbuf = pixbuf



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