From dc2b9d741bac77d56721a0fa2ae9c92fda189c41 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 11 Mar 2005 18:01:38 +0000 Subject: [PATCH] bugfix in url finding --- plugins/gtkgui/tabbed_chat_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/gtkgui/tabbed_chat_window.py b/plugins/gtkgui/tabbed_chat_window.py index 0013acb1c..ab1697285 100644 --- a/plugins/gtkgui/tabbed_chat_window.py +++ b/plugins/gtkgui/tabbed_chat_window.py @@ -528,11 +528,11 @@ class tabbed_chat_window: begin_iter = iter.copy() #we get the begining of the tag while not begin_iter.begins_tag(texttag): - begin_iter.backward_word_start() + begin_iter.backward_char() end_iter = iter.copy() #we get the end of the tag while not end_iter.ends_tag(texttag): - end_iter.forward_word_end() + end_iter.forward_char() word = begin_iter.get_text(end_iter) if event.button == 3: self.make_link_menu(event, kind, word)