diff options
author | Aneesh Dogra <lionaneesh@gmail.com> | 2012-12-09 12:10:30 (GMT) |
---|---|---|
committer | Aneesh Dogra <lionaneesh@gmail.com> | 2012-12-09 12:10:30 (GMT) |
commit | 6e2f63bb3161cced183fb52a42aacfc0e360af13 (patch) | |
tree | 3a2f5ecec15c91a99723d29cd7e0a594203d0488 | |
parent | 766ce47741ce33805e0e011adf670c0a5df232ff (diff) |
Set the buffer properly.
-rw-r--r-- | purk/widgets.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/purk/widgets.py b/purk/widgets.py index a0b928e..b0d87d2 100644 --- a/purk/widgets.py +++ b/purk/widgets.py @@ -588,8 +588,7 @@ class TextOutput(Gtk.TextView): buffer = Gtk.TextBuffer.new(tag_table) Gtk.TextView.__init__(self) - self.buffer = self.get_buffer() - self.buffer = buffer + self.set_buffer(buffer) self.core = core self.events = core.events self.win = window |