Patchworkβ [13/18] gconfig: disable "typeahead find" search in treeviews

login
register
about
Submitter Andrew Morton
Date 2009-09-18 19:49:33
Message ID <200909181949.n8IJnXcc019227@imap1.linux-foundation.org>
Download mbox | patch
Permalink /patch/48635/
State New
Headers show

Comments

Andrew Morton - 2009-09-18 19:49:33
From: Diego Elio 'Flameeyes' Pettenò  <flameeyes@gmail.com>

When typeahead find is enabled, using 'y', 'n' and 'm' to change the status
of the configuration items will also start up the search system, making you
jump around the configuration.

Disabling the enable_search property does not mean that search is not
possible, it only disables the typeahead; to execute a search in the
treeview, you can just call it up explicitly (i.e.: on most systems that
will be Ctrl-f).

Signed-off-by: Diego Elio 'Flameeyes' Pettenò  <flameeyes@gmail.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 scripts/kconfig/gconf.glade |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff -puN scripts/kconfig/gconf.glade~gconfig-disable-typeahead-find-search-in-treeviews scripts/kconfig/gconf.glade
--- a/scripts/kconfig/gconf.glade~gconfig-disable-typeahead-find-search-in-treeviews
+++ a/scripts/kconfig/gconf.glade
@@ -547,7 +547,7 @@ 
 		  <property name="headers_visible">True</property>
 		  <property name="rules_hint">False</property>
 		  <property name="reorderable">False</property>
-		  <property name="enable_search">True</property>
+		  <property name="enable_search">False</property>
 		  <signal name="cursor_changed" handler="on_treeview2_cursor_changed" last_modification_time="Sun, 12 Jan 2003 15:58:22 GMT"/>
 		  <signal name="button_press_event" handler="on_treeview1_button_press_event" last_modification_time="Sun, 12 Jan 2003 16:03:52 GMT"/>
 		  <signal name="key_press_event" handler="on_treeview2_key_press_event" last_modification_time="Sun, 12 Jan 2003 16:11:44 GMT"/>
@@ -582,7 +582,7 @@ 
 		      <property name="headers_visible">True</property>
 		      <property name="rules_hint">False</property>
 		      <property name="reorderable">False</property>
-		      <property name="enable_search">True</property>
+		      <property name="enable_search">False</property>
 		      <signal name="cursor_changed" handler="on_treeview2_cursor_changed" last_modification_time="Sun, 12 Jan 2003 15:57:55 GMT"/>
 		      <signal name="button_press_event" handler="on_treeview2_button_press_event" last_modification_time="Sun, 12 Jan 2003 15:57:58 GMT"/>
 		      <signal name="key_press_event" handler="on_treeview2_key_press_event" last_modification_time="Sun, 12 Jan 2003 15:58:01 GMT"/>