aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat-text-view.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2008-07-17 18:29:38 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-06-12 00:06:29 +0800
commit2ff2dc404fe65778b6c7451aae580e455766de89 (patch)
treeb0a502e94bc5fbc6296bd86e660fa0d4b623d194 /libempathy-gtk/empathy-chat-text-view.c
parent3f4ba63033de82d2bb1193f330177e428ea55126 (diff)
downloadgsoc2013-empathy-2ff2dc404fe65778b6c7451aae580e455766de89.tar
gsoc2013-empathy-2ff2dc404fe65778b6c7451aae580e455766de89.tar.gz
gsoc2013-empathy-2ff2dc404fe65778b6c7451aae580e455766de89.tar.bz2
gsoc2013-empathy-2ff2dc404fe65778b6c7451aae580e455766de89.tar.lz
gsoc2013-empathy-2ff2dc404fe65778b6c7451aae580e455766de89.tar.xz
gsoc2013-empathy-2ff2dc404fe65778b6c7451aae580e455766de89.tar.zst
gsoc2013-empathy-2ff2dc404fe65778b6c7451aae580e455766de89.zip
Reorganise a bit the body parsing and add support for URL
Diffstat (limited to 'libempathy-gtk/empathy-chat-text-view.c')
-rw-r--r--libempathy-gtk/empathy-chat-text-view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat-text-view.c b/libempathy-gtk/empathy-chat-text-view.c
index 8874b7ace..fdba4fedf 100644
--- a/libempathy-gtk/empathy-chat-text-view.c
+++ b/libempathy-gtk/empathy-chat-text-view.c
@@ -1258,6 +1258,7 @@ empathy_chat_text_view_append_body (EmpathyChatTextView *view,
gtk_text_buffer_get_end_iter (priv->buffer, &start_iter);
mark = gtk_text_buffer_create_mark (priv->buffer, NULL, &start_iter, TRUE);
+ regex = empathy_get_uri_regex ();
uri_regex = empathy_uri_regex_dup_singleton ();
for (match = g_regex_match (uri_regex, body, 0, &match_info); match;