summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-06-09 15:48:42 -0300
committerTingPing <tngpng@gmail.com>2013-06-09 15:48:42 -0300
commita591c875ae6b470c0e00e49df8ab38c3cd7296a1 (patch)
tree3185e37b05a7bc9f1efebd862acce8578e605f4d /src
parent08cd36bef0159e3a0482a1fcd4ea7d4f2ea2e9b3 (diff)
Add completion_amount to prefs
... and remove completion_auto which is confusing to say the least.
Diffstat (limited to 'src')
-rw-r--r--src/fe-gtk/setup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c
index 20783259..0859019c 100644
--- a/src/fe-gtk/setup.c
+++ b/src/fe-gtk/setup.c
@@ -217,10 +217,9 @@ static const setting inputbox_settings[] =
 #endif
 
 	{ST_HEADER, N_("Nick Completion"),0,0,0},
-	{ST_TOGGLE, N_("Automatic nick completion (without TAB key)"), P_OFFINTNL(hex_completion_auto),
-					0,0,0},
 	{ST_ENTRY,	N_("Nick completion suffix:"), P_OFFSETNL(hex_completion_suffix),0,0,sizeof prefs.hex_completion_suffix},
 	{ST_MENU,	N_("Nick completion sorted:"), P_OFFINTNL(hex_completion_sort), 0, tabcompmenu, 0},
+	{ST_NUMBER,	N_("Nick completion amount:"), P_OFFINTNL(hex_completion_amount), N_("Threshold of nicks to start listing instead of completing"), 0, 1000},
 
 #if 0	/* obsolete */
 	{ST_HEADER, N_("Input Box Codes"),0,0,0},