[ocrfeeder] widgetPresenter: Improve the a11y of the BoxEditor's text properties (text page)
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ocrfeeder] widgetPresenter: Improve the a11y of the BoxEditor's text properties (text page)
- Date: Thu, 1 Jul 2010 07:20:11 +0000 (UTC)
commit 0e3a27c97b3e7daaad5a5caa70c4acc7146f80e8
Author: Joaquim Rocha <jrocha igalia com>
Date: Tue Jun 29 16:14:00 2010 +0200
widgetPresenter: Improve the a11y of the BoxEditor's text properties (text page)
Add the tooltip text; set the controls' labels as their mnemonics.
studio/widgetPresenter.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/studio/widgetPresenter.py b/studio/widgetPresenter.py
index c3bb1e3..902b8a4 100644
--- a/studio/widgetPresenter.py
+++ b/studio/widgetPresenter.py
@@ -467,7 +467,9 @@ class BoxEditor(gtk.ScrolledWindow):
self.text_content = self.text_widget.get_buffer()
scrolled_text = gtk.ScrolledWindow()
scrolled_text.add(self.text_widget)
- text_properties_notebook.append_page(scrolled_text, gtk.Label( _('Text')))
+ label = gtk.Label( _('_Text'))
+ label.set_use_underline(True)
+ text_properties_notebook.append_page(scrolled_text, label)
text_properties_notebook.set_tab_reorderable(scrolled_text, True)
# Style widget
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]