Changeset 7949 for branches/gajim_0.11/src/conversation_textview.py
- Timestamp:
- 02/07/07 20:05:23 (22 months ago)
- Files:
-
- 1 modified
-
branches/gajim_0.11/src/conversation_textview.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/gajim_0.11/src/conversation_textview.py
r7940 r7949 583 583 if gajim.config.get('emoticons_theme') and \ 584 584 possible_emot_ascii_caps in gajim.interface.emoticons.keys(): 585 # it's an emoticon585 # it's an emoticon 586 586 emot_ascii = possible_emot_ascii_caps 587 587 end_iter = buffer.get_end_iter() 588 588 anchor = buffer.create_child_anchor(end_iter) 589 589 img = gtk.Image() 590 img.set_from_file(gajim.interface.emoticons[emot_ascii]) 590 animations = gajim.interface.emoticons_animations 591 if not emot_ascii in animations: 592 animations[emot_ascii] = gtk.gdk.PixbufAnimation( 593 gajim.interface.emoticons[emot_ascii]) 594 img.set_from_animation(animations[emot_ascii]) 591 595 img.show() 592 # add with possible animation596 # add with possible animation 593 597 self.tv.add_child_at_anchor(img, anchor) 594 598 #FIXME: one day, somehow sync with regexp in gajim.py … … 604 608 special_text.startswith('sip:') or \ 605 609 special_text.startswith('magnet:'): 606 # it's a url610 # it's a url 607 611 tags.append('url') 608 612 use_other_tags = False
