summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cfgfiles.c3
-rw-r--r--src/common/xchat.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index c44080d7..5d1b0b09 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -485,6 +485,7 @@ const struct prefs vars[] = {
 	{"gui_ulist_buttons", P_OFFINT (userlistbuttons), TYPE_BOOL},
 	{"gui_ulist_doubleclick", P_OFFSET (doubleclickuser), TYPE_STR},
 	{"gui_ulist_hide", P_OFFINT (hideuserlist), TYPE_BOOL},
+	{"gui_ulist_icons", P_OFFINT (gui_ulist_icons), TYPE_BOOL},
 	{"gui_ulist_pos", P_OFFINT (gui_ulist_pos), TYPE_INT},
 	{"gui_ulist_resizable", P_OFFINT (paned_userlist), TYPE_BOOL},
 	{"gui_ulist_show_hosts", P_OFFINT(showhostname_in_userlist), TYPE_BOOL},
@@ -736,6 +737,8 @@ load_config (void)
 	prefs.gui_pane_left_size = 128;		/* with treeview icons we need a bit bigger space */
 	prefs.gui_pane_right_size = 100;
 	prefs.gui_pane_right_size_min = 80;
+	prefs.tab_pos = 1;
+	prefs.gui_ulist_icons = 1;
 	prefs.gui_ulist_pos = 3;
 	prefs.mainwindow_save = 1;
 	prefs.bantype = 2;
diff --git a/src/common/xchat.h b/src/common/xchat.h
index cdb8a563..0329cb47 100644
--- a/src/common/xchat.h
+++ b/src/common/xchat.h
@@ -296,6 +296,7 @@ struct xchatprefs
 	unsigned int gui_tray;
 	unsigned int gui_tray_flags;
 	unsigned int gui_tweaks;
+	unsigned int gui_ulist_icons;
 	unsigned int throttle;
 	unsigned int topicbar;
 	unsigned int hideuserlist;