From 433c6391ec5d660766baac4e6af12d195517a757 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Fri, 1 Jun 2012 19:32:51 +0200 Subject: [PATCH] Activity Toolbar Description input field wrap text, SL #3586 Signed-off-by: Gary C. Martin --- src/sugar3/activity/widgets.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sugar3/activity/widgets.py b/src/sugar3/activity/widgets.py index 97450f2b..c4015cee 100644 --- a/src/sugar3/activity/widgets.py +++ b/src/sugar3/activity/widgets.py @@ -234,6 +234,7 @@ class DescriptionItem(Gtk.ToolItem): self._text_view = Gtk.TextView() self._text_view.set_left_margin(style.DEFAULT_PADDING) self._text_view.set_right_margin(style.DEFAULT_PADDING) + self._text_view.set_wrap_mode(Gtk.WrapMode.WORD_CHAR) text_buffer = Gtk.TextBuffer() if 'description' in activity.metadata: text_buffer.set_text(activity.metadata['description'])