summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-28 03:05:50 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-10-28 03:05:50 +0100
commit85119b9a80f5a158485eafbb8ceb8fe81a814e61 (patch)
treead2b4c217ca99eae3619b678fabfc8300dab94e4 /src/common
parent6cb0c9631903b4120e5066d9868213a570a48cdb (diff)
Add option to hide user mode icon in nick box
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cfgfiles.c2
-rw-r--r--src/common/hexchat.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index cc5e0caa..79205ece 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -447,6 +447,7 @@ const struct prefs vars[] =
 	{"gui_dialog_top", P_OFFINT (hex_gui_dialog_top), TYPE_INT},
 	{"gui_prefs.hex_gui_dialog_width", P_OFFINT (hex_gui_dialog_width), TYPE_INT},
 	{"gui_hide_menu", P_OFFINT (hex_gui_hide_menu), TYPE_BOOL},
+	{"gui_input_icon", P_OFFINT (hex_gui_input_icon), TYPE_BOOL},
 	{"gui_input_nick", P_OFFINT (hex_gui_input_nick), TYPE_BOOL},
 	{"gui_input_spell", P_OFFINT (hex_gui_input_spell), TYPE_BOOL},
 	{"gui_input_style", P_OFFINT (hex_gui_input_style), TYPE_BOOL},
@@ -670,6 +671,7 @@ load_config (void)
 	prefs.hex_gui_autoopen_dialog = 1;
 	prefs.hex_gui_autoopen_recv = 1;
 	prefs.hex_gui_autoopen_send = 1;
+	prefs.hex_gui_input_icon = 1;
 	prefs.hex_gui_input_nick = 1;
 	prefs.hex_gui_input_spell = 1;
 	prefs.hex_gui_input_style = 1;
diff --git a/src/common/hexchat.h b/src/common/hexchat.h
index 5ad6a383..3b2a366b 100644
--- a/src/common/hexchat.h
+++ b/src/common/hexchat.h
@@ -130,6 +130,7 @@ struct hexchatprefs
 	unsigned int hex_gui_autoopen_send;
 	unsigned int hex_gui_compact;
 	unsigned int hex_gui_hide_menu;
+	unsigned int hex_gui_input_icon;
 	unsigned int hex_gui_input_nick;
 	unsigned int hex_gui_input_spell;
 	unsigned int hex_gui_input_style;