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

Showing the changes to scripts (1 of 1 file). Show all

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
599 build_conf(menu);599 build_conf(menu);
600 if (!child_count)600 if (!child_count)
601 break;601 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 }
610 dialog_clear();602 dialog_clear();
611 res = dialog_menu(prompt ? _(prompt) : _("Main Menu"),603 res = dialog_menu(prompt ? _(prompt) : _("Main Menu"),
612 _(menu_instructions),604 _(menu_instructions),
@@ -643,12 +635,6 @@ static void conf(struct menu *menu, struct menu *active_menu) · 30 unmodified lines
643 case 's':635 case 's':
644 conf_string(submenu);636 conf_string(submenu);
645 break;637 break;
646 case 'L':
647 conf_load();
648 break;
649 case 'S':
650 conf_save();
651 break;
652 }638 }
653 break;639 break;
654 case 2:640 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