From 59f32ccb3a1f192c9faf8f51330db918c4ee3d46 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 7 Oct 2012 03:00:52 +0200 Subject: Fix URL detection --- src/common/url.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/url.h') diff --git a/src/common/url.h b/src/common/url.h index 487a2007..ab4247e0 100644 --- a/src/common/url.h +++ b/src/common/url.h @@ -8,7 +8,9 @@ extern void *url_tree; #define WORD_CHANNEL 3 #define WORD_HOST 4 #define WORD_EMAIL 5 +/* anything >0 will be displayed as a link by gtk_xtext_motion_notify() */ #define WORD_DIALOG -1 +#define WORD_PATH -2 void url_clear (void); void url_save (const char *fname, const char *mode, gboolean fullpath); -- cgit 1.4.1