History

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.

Wang YanQing committed 13 years ago

Commit 1bdbac41 parent 6364fd01 file · +0 −14Browse files

Unified · Split

scripts/kconfig/mconf.c+0−14
@@ -599,14 +599,6 @@ static void conf(struct menu *menu, struct menu *active_menu) · 598 unmodified lines
599599 build_conf(menu);
600600 if (!child_count)
601601 break;
602− if (menu == &rootmenu) {
603− item_make("--- ");
604− item_set_tag(':');
605− item_make(_(" Load an Alternate Configuration File"));
606− item_set_tag('L');
607− item_make(_(" Save an Alternate Configuration File"));
608− item_set_tag('S');
609− }
610602 dialog_clear();
611603 res = dialog_menu(prompt ? _(prompt) : _("Main Menu"),
612604 _(menu_instructions),
@@ -643,12 +635,6 @@ static void conf(struct menu *menu, struct menu *active_menu) · 30 unmodified lines
643635 case 's':
644636 conf_string(submenu);
645637 break;
646− case 'L':
647− conf_load();
648− break;
649− case 'S':
650− conf_save();
651− break;
652638 }
653639 break;
654640 case 2:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t