set wrap WORD_CHAR and skip horizontal scrlbar

This commit is contained in:
Dimitur Kirov 2006-05-27 09:18:30 +00:00
parent 880253f9d3
commit d4b6cb7aa6
2 changed files with 2 additions and 2 deletions

View File

@ -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 = {}

View File

@ -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)