public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] menuconfig: Get rid of the top-level entries for "Load an Alternate/Save an Alternate"
@ 2012-12-17 14:56 Wang YanQing
  2012-12-17 20:59 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Wang YanQing @ 2012-12-17 14:56 UTC (permalink / raw)
  To: mmarek
  Cc: linux-kbuild, linux-kernel, rdunlap, bp, yann.morin.1998, sakiwit,
	lacombar, lucas.demarchi, dave, paul.gortmaker, crquan, bpoirier

Now we have Load/Save buttons to do the Load/Save
in the convenient place, so we can drop the
top-level entries.

Signed-off-by: Wang YanQing <udknight@gmail.com>
---
 scripts/kconfig/mconf.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index c074f8a..0ac1524 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -593,14 +593,6 @@ static void conf(struct menu *menu, struct menu *active_menu)
 		build_conf(menu);
 		if (!child_count)
 			break;
-		if (menu == &rootmenu) {
-			item_make("--- ");
-			item_set_tag(':');
-			item_make(_("    Load an Alternate Configuration File"));
-			item_set_tag('L');
-			item_make(_("    Save an Alternate Configuration File"));
-			item_set_tag('S');
-		}
 		dialog_clear();
 		res = dialog_menu(prompt ? _(prompt) : _("Main Menu"),
 				  _(menu_instructions),
@@ -637,12 +629,6 @@ static void conf(struct menu *menu, struct menu *active_menu)
 			case 's':
 				conf_string(submenu);
 				break;
-			case 'L':
-				conf_load();
-				break;
-			case 'S':
-				conf_save();
-				break;
 			}
 			break;
 		case 2:
-- 
1.7.11.1.116.g8228a23

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2] menuconfig: Get rid of the top-level entries for "Load an Alternate/Save an Alternate"
  2012-12-17 14:56 [PATCH 2/2] menuconfig: Get rid of the top-level entries for "Load an Alternate/Save an Alternate" Wang YanQing
@ 2012-12-17 20:59 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2012-12-17 20:59 UTC (permalink / raw)
  To: linux-kbuild
  Cc: Wang YanQing, mmarek, linux-kernel, rdunlap, bp, sakiwit,
	lacombar, lucas.demarchi, dave, paul.gortmaker, crquan, bpoirier

Wang, All,

On Monday 17 December 2012 Wang YanQing wrote:
> Now we have Load/Save buttons to do the Load/Save
> in the convenient place, so we can drop the
> top-level entries.
> 
> Signed-off-by: Wang YanQing <udknight@gmail.com>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-17 20:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-17 14:56 [PATCH 2/2] menuconfig: Get rid of the top-level entries for "Load an Alternate/Save an Alternate" Wang YanQing
2012-12-17 20:59 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox