Set default wrap mode for tabbed gramplets
svn: r16570
This commit is contained in:
parent
104186e783
commit
0708e27ee5
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user