From d4b6cb7aa6196cca7f57c078e4af753193ad319e Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Sat, 27 May 2006 09:18:30 +0000 Subject: [PATCH] set wrap WORD_CHAR and skip horizontal scrlbar --- src/conversation_textview.py | 2 +- src/message_textview.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conversation_textview.py b/src/conversation_textview.py index 50c20d55f..4e46c3346 100644 --- a/src/conversation_textview.py +++ b/src/conversation_textview.py @@ -56,7 +56,7 @@ class ConversationTextview: self.tv.set_accepts_tab(True) self.tv.set_editable(False) self.tv.set_cursor_visible(False) - self.tv.set_wrap_mode(gtk.WRAP_WORD) + self.tv.set_wrap_mode(gtk.WRAP_WORD_CHAR) self.tv.set_left_margin(2) self.tv.set_right_margin(2) self.handlers = {} diff --git a/src/message_textview.py b/src/message_textview.py index 179827880..09de8b53c 100644 --- a/src/message_textview.py +++ b/src/message_textview.py @@ -44,7 +44,7 @@ class MessageTextView(gtk.TextView): self.set_accepts_tab(True) self.set_editable(True) self.set_cursor_visible(True) - self.set_wrap_mode(gtk.WRAP_WORD) + self.set_wrap_mode(gtk.WRAP_WORD_CHAR) self.set_left_margin(2) self.set_right_margin(2) self.set_pixels_above_lines(2)