This commit is contained in:
Yann Leboulanger 2005-04-22 20:48:04 +00:00
parent 4ba58323bf
commit a231862c73
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ class Chat:
self.change_cursor = None self.change_cursor = None
tag_table = widget.get_buffer().get_tag_table() tag_table = widget.get_buffer().get_tag_table()
for tag in tags: for tag in tags:
if tag_table.lookup('url') or tag_table.lookup('mail'): if tag == tag_table.lookup('url') or tag == tag_table.lookup('mail'):
widget.get_window(gtk.TEXT_WINDOW_TEXT).set_cursor(\ widget.get_window(gtk.TEXT_WINDOW_TEXT).set_cursor(\
gtk.gdk.Cursor(gtk.gdk.HAND2)) gtk.gdk.Cursor(gtk.gdk.HAND2))
self.change_cursor = tag self.change_cursor = tag