From a591c875ae6b470c0e00e49df8ab38c3cd7296a1 Mon Sep 17 00:00:00 2001
From: TingPing <tngpng@gmail.com>
Date: Sun, 9 Jun 2013 15:48:42 -0300
Subject: Add completion_amount to prefs

... and remove completion_auto which is confusing to say the least.
---
 src/fe-gtk/setup.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/fe-gtk')

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},
-- 
cgit 1.4.1