From 0e88d01caf89a0d5e6e69cae9eb1d095006f6508 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Mon, 22 Oct 2012 06:02:15 +0200 Subject: Get rid of gui_tweaks 64 --- src/common/cfgfiles.c | 3 +++ src/common/xchat.h | 1 + 2 files changed, 4 insertions(+) (limited to 'src/common') 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; -- cgit 1.4.1