summary refs log tree commit diff stats
path: root/src/common/url.h
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-07 03:00:52 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-07 03:00:52 +0200
commit59f32ccb3a1f192c9faf8f51330db918c4ee3d46 (patch)
treed37b82f478310815d6e86805e42efd9fe6228445 /src/common/url.h
parentb4e78e04551fb9836d320f01143d6aa2661cc7f3 (diff)
Fix URL detection
Diffstat (limited to 'src/common/url.h')
-rw-r--r--src/common/url.h2
1 files changed, 2 insertions, 0 deletions
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);