[ocrfeeder] Make the BoxEditor's text view's wrap the lines
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ocrfeeder] Make the BoxEditor's text view's wrap the lines
- Date: Tue, 27 Jul 2010 22:08:07 +0000 (UTC)
commit 1749f30e6f412e1b68063aae148b2eab7b75a788
Author: Joaquim Rocha <jrocha igalia com>
Date: Thu Jul 8 17:24:41 2010 +0200
Make the BoxEditor's text view's wrap the lines
widgetPresenter.BoxEditor: Set the text view's wrap mode to be
WRAP_WORD because the text should now have less line breaks which
would result in long lines in the text view.
studio/widgetPresenter.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/studio/widgetPresenter.py b/studio/widgetPresenter.py
index 6430fce..0d59dc9 100644
--- a/studio/widgetPresenter.py
+++ b/studio/widgetPresenter.py
@@ -473,6 +473,7 @@ class BoxEditor(gtk.ScrolledWindow):
text_properties_notebook.set_tab_pos(gtk.POS_TOP)
# Textview widget
self.text_widget = gtk.TextView()
+ self.text_widget.set_wrap_mode(gtk.WRAP_WORD)
self.text_content = self.text_widget.get_buffer()
scrolled_text = gtk.ScrolledWindow()
scrolled_text.add(self.text_widget)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]