Provide builtin defauls for treeview icons

This commit is contained in:
Berke Viktor
2012-10-13 15:31:25 +02:00
parent f7013f70a5
commit c01ee90ef6
16 changed files with 55 additions and 8 deletions

View File

@@ -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,