Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calculate.py2
-rw-r--r--layout.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/calculate.py b/calculate.py
index 377ef8a..e1ad2b3 100644
--- a/calculate.py
+++ b/calculate.py
@@ -210,7 +210,7 @@ class Equation:
return self.result.get_image()
w = gtk.TextView()
- w.set_wrap_mode(gtk.WRAP_WORD)
+ w.set_wrap_mode(gtk.WRAP_WORD_CHAR)
w.connect('realize', _textview_realize_cb)
buf = w.get_buffer()
diff --git a/layout.py b/layout.py
index ba21114..12c3ea3 100644
--- a/layout.py
+++ b/layout.py
@@ -231,7 +231,7 @@ class CalcLayout:
# Right part: last equation
self.last_eq = gtk.TextView()
self.last_eq.set_editable(False)
- self.last_eq.set_wrap_mode(gtk.WRAP_WORD)
+ self.last_eq.set_wrap_mode(gtk.WRAP_WORD_CHAR)
self.last_eq.connect('realize', self._textview_realize_cb)
self.last_eq.set_border_width(2)
self.last_eq.modify_bg(gtk.STATE_NORMAL, self.col_gray1)