summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-10-08 18:16:10 -0400
committerTingPing <tingping@tingping.se>2013-10-08 18:16:10 -0400
commit0c3220c4697598badbf222b7b6209326ec863942 (patch)
treeda98c52bf70596e83488a241d5d9b120dcd98869 /src/common
parente52905f50c7ff5d123a58ba016dcbb9de2b13f4f (diff)
Add preference to change tabs on scroll
Also revert e52905f50c7ff5d123a58ba016dcbb9de2b13f4f
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cfgfiles.c1
-rw-r--r--src/common/hexchat.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index 63745869..f0784ff5 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -451,6 +451,7 @@ const struct prefs vars[] =
 	{"gui_tab_layout", P_OFFINT (hex_gui_tab_layout), TYPE_INT},
 	{"gui_tab_newtofront", P_OFFINT (hex_gui_tab_newtofront), TYPE_INT},
 	{"gui_tab_pos", P_OFFINT (hex_gui_tab_pos), TYPE_INT},
+	{"gui_tab_scrollchans", P_OFFINT (hex_gui_tab_scrollchans), TYPE_BOOL},
 	{"gui_tab_server", P_OFFINT (hex_gui_tab_server), TYPE_BOOL},
 	{"gui_tab_small", P_OFFINT (hex_gui_tab_small), TYPE_INT},
 	{"gui_tab_sort", P_OFFINT (hex_gui_tab_sort), TYPE_BOOL},
diff --git a/src/common/hexchat.h b/src/common/hexchat.h
index e1e402c2..5825d217 100644
--- a/src/common/hexchat.h
+++ b/src/common/hexchat.h
@@ -166,6 +166,7 @@ struct hexchatprefs
 	unsigned int hex_gui_tab_dialogs;
 	unsigned int hex_gui_tab_dots;
 	unsigned int hex_gui_tab_icons;
+	unsigned int hex_gui_tab_scrollchans;
 	unsigned int hex_gui_tab_server;
 	unsigned int hex_gui_tab_sort;
 	unsigned int hex_gui_tab_utils;