nothing part 2
This commit is contained in:
parent
33fb7ea8b4
commit
d10111675b
1 changed files with 52 additions and 50 deletions
|
@ -458,6 +458,12 @@ class Chat:
|
||||||
other_tag = ''
|
other_tag = ''
|
||||||
index = end # update index
|
index = end # update index
|
||||||
|
|
||||||
|
#now print it
|
||||||
|
self.print_special_text(special_text, other_tag, conversation_buffer)
|
||||||
|
|
||||||
|
return index, other_tag
|
||||||
|
|
||||||
|
def print_special_text(self, special_text, other_tag, conversation_buffer):
|
||||||
# == PRINT SPECIAL TEXT ==
|
# == PRINT SPECIAL TEXT ==
|
||||||
# make it CAPS (emoticons keys are all CAPS)
|
# make it CAPS (emoticons keys are all CAPS)
|
||||||
possible_emot_ascii_caps = special_text.upper()
|
possible_emot_ascii_caps = special_text.upper()
|
||||||
|
@ -469,7 +475,6 @@ class Chat:
|
||||||
end_iter = conversation_buffer.get_end_iter()
|
end_iter = conversation_buffer.get_end_iter()
|
||||||
conversation_buffer.insert_pixbuf(end_iter, \
|
conversation_buffer.insert_pixbuf(end_iter, \
|
||||||
self.plugin.emoticons[emot_ascii])
|
self.plugin.emoticons[emot_ascii])
|
||||||
#break # it used to be a return
|
|
||||||
elif special_text.startswith('mailto:'):
|
elif special_text.startswith('mailto:'):
|
||||||
#it's a mail
|
#it's a mail
|
||||||
tag = 'mail'
|
tag = 'mail'
|
||||||
|
@ -506,6 +511,3 @@ class Chat:
|
||||||
else:
|
else:
|
||||||
conversation_buffer.insert_with_tags_by_name(end_iter,\
|
conversation_buffer.insert_with_tags_by_name(end_iter,\
|
||||||
special_text, tag)
|
special_text, tag)
|
||||||
|
|
||||||
|
|
||||||
return index, other_tag
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue