Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1574421

[PATCH 1/2] kconfig/mconf: add jumping tip in title of search result textbox

From changbin.du@intel.com
Newsgroups linux.kernel
Subject [PATCH 1/2] kconfig/mconf: add jumping tip in title of search result textbox
Date 2017-02-06 08:50 +0100
Message-ID <t7MdH-1Vy-1@gated-at.bofh.it> (permalink)
References <t7MdH-1Vy-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Changbin Du <changbin.du@intel.com>

Prompt user how to quickly jump to the item he/she is interested in.

Signed-off-by: Changbin Du <changbin.du@intel.com>
---
 scripts/kconfig/mconf.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index 315ce2c..23d5681 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -443,10 +443,10 @@ static void search_conf(void)
 
 		res = get_relations_str(sym_arr, &head);
 		set_subtitle();
-		dres = show_textbox_ext(_("Search Results"), (char *)
-					str_get(&res), 0, 0, keys, &vscroll,
-					&hscroll, &update_text, (void *)
-					&data);
+		dres = show_textbox_ext(
+				_("Search Results (type the number to jump)"),
+				(char *)str_get(&res), 0, 0, keys, &vscroll,
+				&hscroll, &update_text, (void *)&data);
 		again = false;
 		for (i = 0; i < JUMP_NB && keys[i]; i++)
 			if (dres == keys[i]) {
-- 
2.7.4

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] kconfig/mconf: add jumping tip in title of search result textbox changbin.du@intel.com - 2017-02-06 08:50 +0100
  Re: [PATCH 1/2] kconfig/mconf: add jumping tip in title of search result textbox Jani Nikula <jani.nikula@linux.intel.com> - 2017-02-06 13:10 +0100
    Re: [PATCH 1/2] kconfig/mconf: add jumping tip in title of search  result textbox "Du, Changbin" <changbin.du@intel.com> - 2017-02-07 04:20 +0100

csiph-web