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

@@ -266,6 +266,7 @@ static const setting tabs_settings[] =
{ST_TOGGLE, N_("Open an extra tab for server notices"), P_OFFINTNL(notices_tabs), 0, 0, 0},
{ST_TOGGLE, N_("Open a new tab when you receive a private message"), P_OFFINTNL(autodialog), 0, 0, 0},
{ST_TOGGLE, N_("Sort tabs in alphabetical order"), P_OFFINTNL(tab_sort), 0, 0, 0},
{ST_TOGGLE, N_("Show icons in tree view"), P_OFFINTNL(tab_icons), 0, 0, 0},
{ST_TOGGLE, N_("Smaller text"), P_OFFINTNL(tab_small), 0, 0, 0},
#if 0
{ST_MENU, N_("Focus new tabs:"), P_OFFINTNL(newtabstofront), 0, focusnewtabsmenu, 0},
@@ -2147,6 +2148,8 @@ setup_apply (struct xchatprefs *pr)
noapply = TRUE;
if (DIFF (truncchans))
noapply = TRUE;
if (DIFF (tab_icons))
noapply = TRUE;
if (DIFF (tab_layout))
do_layout = TRUE;