summary refs log tree commit diff stats
path: root/src/common/xchat.h
diff options
context:
space:
mode:
authorbviktor <bviktor@outlook.com>2012-09-01 13:29:11 -0700
committerbviktor <bviktor@outlook.com>2012-09-01 13:29:11 -0700
commitd754200b42c1c4ce39baa6530504a7a6572236d2 (patch)
tree507848329d9fcb36f8084bb28c07ffbaccb32f3a /src/common/xchat.h
parent1a102d9bff3dcde39010945a1808e529d1f2f7f1 (diff)
parented034bf80a39a337803df0161d7f80fd226a6856 (diff)
Merge pull request #68 from RichardHitt/master
Enhance LASTLOG to use gtk_xtext_search_textentry()
Diffstat (limited to 'src/common/xchat.h')
-rw-r--r--src/common/xchat.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/common/xchat.h b/src/common/xchat.h
index a5b854af..d9a64d68 100644
--- a/src/common/xchat.h
+++ b/src/common/xchat.h
@@ -347,6 +347,15 @@ struct xchatprefs
 #define SET_ON 1
 #define SET_DEFAULT 2 /* use global setting */
 
+/* Moved from fe-gtk for use in outbound.c as well -- */
+typedef enum gtk_xtext_search_flags_e {
+	case_match = 1,
+	backward = 2,
+	highlight = 4,
+	follow = 8,
+	regexp = 16
+} gtk_xtext_search_flags;
+
 typedef struct session
 {
 	/* Per-Channel Alerts */
@@ -406,7 +415,7 @@ typedef struct session
 	int end_of_names:1;
 	int doing_who:1;		/* /who sent on this channel */
 	int done_away_check:1;	/* done checking for away status changes */
-	unsigned int lastlog_regexp:1;	/* this is a lastlog and using regexp */
+	gtk_xtext_search_flags lastlog_flags;
 } session;
 
 struct msproxy_state_t