summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-22 18:59:45 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-22 18:59:45 +0200
commitbc4fb2fd0ef60e39cc3eb331378672a8a04cb30a (patch)
tree7ee5fbf4da9a0eb8092c09d979d84f073c628385 /src/common
parentf5338e014aaf90fdf58b03313be9a7e32710d335 (diff)
Fix user count options
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cfgfiles.c2
-rw-r--r--src/common/xchat.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index e663e964..a22edd5f 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -480,6 +480,7 @@ const struct prefs vars[] =
 	{"gui_tray", P_OFFINT (hex_gui_tray), TYPE_BOOL},
 	{"gui_tray_flags", P_OFFINT (hex_gui_tray_flags), TYPE_INT},
 	{"gui_ulist_buttons", P_OFFINT (hex_gui_ulist_buttons), TYPE_BOOL},
+	{"gui_ulist_count", P_OFFINT (hex_gui_ulist_count), TYPE_BOOL},
 	{"gui_ulist_doubleclick", P_OFFSET (hex_gui_ulist_doubleclick), TYPE_STR},
 	{"gui_ulist_hide", P_OFFINT (hex_gui_ulist_hide), TYPE_BOOL},
 	{"gui_ulist_icons", P_OFFINT (hex_gui_ulist_icons), TYPE_BOOL},
@@ -686,6 +687,7 @@ load_config (void)
 	prefs.hex_gui_tab_layout = 2;	/* 0=Tabs 1=Reserved 2=Tree */
 	prefs.hex_gui_tab_icons = 1;
 	prefs.hex_gui_tab_sort = 1;
+	prefs.hex_gui_ulist_count = 1;
 	prefs.hex_gui_ulist_resizable = 1;
 	prefs.hex_gui_tab_newtofront = 2;
 	prefs.hex_gui_tab_server = 1;
diff --git a/src/common/xchat.h b/src/common/xchat.h
index 5ee91d1e..c7bac850 100644
--- a/src/common/xchat.h
+++ b/src/common/xchat.h
@@ -241,6 +241,7 @@ struct hexchatprefs
 	unsigned int hex_gui_topicbar;
 	unsigned int hex_gui_tray;
 	unsigned int hex_gui_ulist_buttons;
+	unsigned int hex_gui_ulist_count;
 	unsigned int hex_gui_ulist_hide;
 	unsigned int hex_gui_ulist_icons;
 	unsigned int hex_gui_ulist_resizable;