summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-11-10 19:29:12 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-11-10 19:29:12 +0100
commit475607826343340f509cf8a3f194b11e469ff8ad (patch)
tree9aee2368ec270c9adc83b1d8674e6449d20d4603 /src/common
parent5781cd0c44350907b65f855fcd22e338509e35b0 (diff)
Explode gui_tray_flags
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cfgfiles.c4
-rw-r--r--src/common/hexchat.h4
2 files changed, 6 insertions, 2 deletions
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;