diff options
author | Denis Fomin <fominde@gmail.com> | 2013-07-30 18:45:20 +0400 |
---|---|---|
committer | Denis Fomin <fominde@gmail.com> | 2013-07-30 18:45:20 +0400 |
commit | 2205bda1c8d2ff7871e0df57370f03fa0dd3c2d3 (patch) | |
tree | e957ee81697bcb83ed764b9d2dd03168ca6a603a /src/conversation_textview.py | |
parent | d1a6467d82037a9caba5b83d5ab80a577437e6a0 (diff) |
fix textbuffer get_text
Diffstat (limited to 'src/conversation_textview.py')
-rw-r--r-- | src/conversation_textview.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conversation_textview.py b/src/conversation_textview.py index d6f020d93..880e7f635 100644 --- a/src/conversation_textview.py +++ b/src/conversation_textview.py @@ -489,7 +489,7 @@ class ConversationTextview(GObject.GObject): buffer_ = self.tv.get_buffer() i1 = buffer_.get_iter_at_mark(m1) i2 = buffer_.get_iter_at_mark(m2) - txt = buffer_.get_text(i1, i2) + txt = buffer_.get_text(i1, i2, True) buffer_.delete(i1, i2) i2 = self.print_real_text(message, text_tags=['outgoingtxt'], name=name, xhtml=xhtml, iter_=i1) @@ -507,7 +507,7 @@ class ConversationTextview(GObject.GObject): buffer_ = self.tv.get_buffer() i1 = buffer_.get_iter_at_mark(m1) i2 = buffer_.get_iter_at_mark(m2) - txt = buffer_.get_text(i1, i2) + txt = buffer_.get_text(i1, i2, True) buffer_.delete(i1, i2) i2 = self.print_real_text(message, text_tags=['incomingtxt'], name=name, xhtml=xhtml, iter_=i1) |