aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat-text-view.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-29 18:55:30 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-29 18:55:30 +0800
commit2712a7a946a39f9bc2198bda9c08ce605465a6b9 (patch)
tree74c2d66261fe6f1bbc051ccfd5ee6494eaa96c0c /libempathy-gtk/empathy-chat-text-view.c
parent18db98e8aaccfe4a5f65a6c8cf5b7b6a42ef3cfb (diff)
downloadgsoc2013-empathy-2712a7a946a39f9bc2198bda9c08ce605465a6b9.tar
gsoc2013-empathy-2712a7a946a39f9bc2198bda9c08ce605465a6b9.tar.gz
gsoc2013-empathy-2712a7a946a39f9bc2198bda9c08ce605465a6b9.tar.bz2
gsoc2013-empathy-2712a7a946a39f9bc2198bda9c08ce605465a6b9.tar.lz
gsoc2013-empathy-2712a7a946a39f9bc2198bda9c08ce605465a6b9.tar.xz
gsoc2013-empathy-2712a7a946a39f9bc2198bda9c08ce605465a6b9.tar.zst
gsoc2013-empathy-2712a7a946a39f9bc2198bda9c08ce605465a6b9.zip
Also accept sftp as URL scheme.
svn path=/trunk/; revision=2261
Diffstat (limited to 'libempathy-gtk/empathy-chat-text-view.c')
-rw-r--r--libempathy-gtk/empathy-chat-text-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chat-text-view.c b/libempathy-gtk/empathy-chat-text-view.c
index 87e3a0950..b87128cc3 100644
--- a/libempathy-gtk/empathy-chat-text-view.c
+++ b/libempathy-gtk/empathy-chat-text-view.c
@@ -62,7 +62,7 @@
#define MAX_SCROLL_TIME 0.4 /* seconds */
#define SCROLL_DELAY 33 /* milliseconds */
-#define SCHEMES "(https?|ftps?|nntp|news|javascript|about|ghelp|apt|telnet|"\
+#define SCHEMES "(https?|s?ftps?|nntp|news|javascript|about|ghelp|apt|telnet|"\
"file|webcal|mailto)"
#define BODY "([^\\ \\n]+)"
#define END_BODY "([^\\ \\n]*[^,;\?><()\\ \"\\.\\n])"