Set default wrap mode for tabbed gramplets

svn: r16570
This commit is contained in:
Nick Hall 2011-02-04 17:55:03 +00:00
parent 104186e783
commit 0708e27ee5

View File

@ -472,6 +472,8 @@ class TabGramplet(gtk.ScrolledWindow, GuiGramplet):
self.scrolledwindow = self self.scrolledwindow = self
self.textview = gtk.TextView() self.textview = gtk.TextView()
self.textview.set_editable(False)
self.textview.set_wrap_mode(gtk.WRAP_WORD)
self.buffer = UndoableBuffer() self.buffer = UndoableBuffer()
self.text_length = 0 self.text_length = 0
self.textview.set_buffer(self.buffer) self.textview.set_buffer(self.buffer)