summary refs log tree commit diff stats
path: root/src/fe-gtk/maingui.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-13 15:31:25 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-13 15:31:25 +0200
commitc01ee90ef6eaf62e1ec3b10567a54a0b7c0a3977 (patch)
tree9bf150d2ad74f0c8730aa7d282bddef7bfea27c3 /src/fe-gtk/maingui.c
parentf7013f70a53f644e0326d32287d59b91f627e792 (diff)
Provide builtin defauls for treeview icons
Diffstat (limited to 'src/fe-gtk/maingui.c')
-rw-r--r--src/fe-gtk/maingui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-gtk/maingui.c b/src/fe-gtk/maingui.c
index 41cbb2a6..3dbac7af 100644
--- a/src/fe-gtk/maingui.c
+++ b/src/fe-gtk/maingui.c
@@ -2915,8 +2915,10 @@ mg_create_tabs (session_gui *gui)
 
 	/* if any one of these PNGs exist, the chanview will create
 	 * the extra column for icons. */
-	if (pix_channel || pix_dialog || pix_server || pix_util)
+	if (prefs.tab_icons && (pix_channel || pix_dialog || pix_server || pix_util))
+	{
 		use_icons = TRUE;
+	}
 
 	gui->chanview = chanview_new (prefs.tab_layout, prefs.truncchans,
 											prefs.tab_sort, use_icons,