From 475607826343340f509cf8a3f194b11e469ff8ad Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sat, 10 Nov 2012 19:29:12 +0100 Subject: Explode gui_tray_flags --- src/common/cfgfiles.c | 4 +++- src/common/hexchat.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 516de473..3daab3a0 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -459,7 +459,9 @@ const struct prefs vars[] = {"gui_throttlemeter", P_OFFINT (hex_gui_throttlemeter), TYPE_INT}, {"gui_topicbar", P_OFFINT (hex_gui_topicbar), TYPE_BOOL}, {"gui_tray", P_OFFINT (hex_gui_tray), TYPE_BOOL}, - {"gui_tray_flags", P_OFFINT (hex_gui_tray_flags), TYPE_INT}, + {"gui_tray_close", P_OFFINT (hex_gui_tray_close), TYPE_BOOL}, + {"gui_tray_minimize", P_OFFINT (hex_gui_tray_minimize), TYPE_BOOL}, + {"gui_tray_quiet", P_OFFINT (hex_gui_tray_quiet), TYPE_BOOL}, {"gui_ulist_buttons", P_OFFINT (hex_gui_ulist_buttons), TYPE_BOOL}, {"gui_ulist_count", P_OFFINT (hex_gui_ulist_count), TYPE_BOOL}, {"gui_ulist_doubleclick", P_OFFSET (hex_gui_ulist_doubleclick), TYPE_STR}, diff --git a/src/common/hexchat.h b/src/common/hexchat.h index 5a187d3a..357bdad3 100644 --- a/src/common/hexchat.h +++ b/src/common/hexchat.h @@ -152,6 +152,9 @@ struct hexchatprefs unsigned int hex_gui_tab_utils; unsigned int hex_gui_topicbar; unsigned int hex_gui_tray; + unsigned int hex_gui_tray_close; + unsigned int hex_gui_tray_minimize; + unsigned int hex_gui_tray_quiet; unsigned int hex_gui_ulist_buttons; unsigned int hex_gui_ulist_count; unsigned int hex_gui_ulist_hide; @@ -259,7 +262,6 @@ struct hexchatprefs int hex_gui_tab_small; int hex_gui_tab_trunc; int hex_gui_throttlemeter; - int hex_gui_tray_flags; int hex_gui_ulist_pos; int hex_gui_ulist_sort; int hex_gui_url_mod; -- cgit 1.4.1