changeset 4a9723d04b83 in /home/hg/repos/gajim

branches: 
details:http://hg.gajim.org/gajim?cmd=changeset;node=4a9723d04b83
description: go to end iter after each print_special_text if we don't have an 
argument with the iter where we have to insert text. See #7372

diffstat:

 src/conversation_textview.py |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 2af3646ddb5f -r 4a9723d04b83 src/conversation_textview.py
--- a/src/conversation_textview.py      Fri Jul 26 14:45:16 2013 +0200
+++ b/src/conversation_textview.py      Fri Jul 26 20:29:50 2013 +0200
@@ -1085,6 +1085,8 @@
             special_text = otext[start:end]
             if start > index:
                 text_before_special_text = otext[index:start]
+                if not iter_:
+                    end_iter = buffer_.get_end_iter()
                 # we insert normal text
                 insert_tags_func(end_iter, text_before_special_text, 
*other_tags)
             index = end # update index
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to