From bc4fb2fd0ef60e39cc3eb331378672a8a04cb30a Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Mon, 22 Oct 2012 18:59:45 +0200 Subject: Fix user count options --- src/common/cfgfiles.c | 2 ++ src/common/xchat.h | 1 + 2 files changed, 3 insertions(+) (limited to 'src/common') 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; -- cgit 1.4.1