[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121217145614.GC17427@udknight>
Date: Mon, 17 Dec 2012 22:56:14 +0800
From: Wang YanQing <udknight@...il.com>
To: mmarek@...e.cz
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
rdunlap@...otime.net, bp@...en8.de, yann.morin.1998@...e.fr,
sakiwit@...il.com, lacombar@...il.com,
lucas.demarchi@...fusion.mobi, dave@....org,
paul.gortmaker@...driver.com, crquan@...il.com, bpoirier@...e.de
Subject: [PATCH 2/2] menuconfig: Get rid of the top-level entries for "Load
an Alternate/Save an Alternate"
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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists