summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-04-23 17:34:45 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-04-26 17:24:02 +0200
commit6fcd01985dbdc29ee231b8bc01488fd286debabc (patch)
treed2ad89880d17a12dd45213d9e99b36e7e814c9f3
parent6c7673e778db2fc50feaa3a0507026b15db33d38 (diff)
menuconfig: Use "(Top)" instead of "(top menu)"
Consistent with guiconfig.py and shorter.
-rwxr-xr-xmenuconfig.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/menuconfig.py b/menuconfig.py
index c502307..7b554a7 100755
--- a/menuconfig.py
+++ b/menuconfig.py
@@ -1418,7 +1418,7 @@ def _draw_main():
_path_win.erase()
- # Draw the menu path ("(top menu) -> menu -> submenu -> ...")
+ # Draw the menu path ("(Top) -> Menu -> Submenu -> ...")
menu_prompts = []
@@ -1430,7 +1430,7 @@ def _draw_main():
menu_prompts.append(menu.prompt[0] if menu.prompt else
standard_sc_expr_str(menu.item))
menu = menu.parent
- menu_prompts.append("(top menu)")
+ menu_prompts.append("(Top)")
menu_prompts.reverse()
# Hack: We can't put ACS_RARROW directly in the string. Temporarily
@@ -2769,7 +2769,7 @@ def _menu_path_info(node):
path = " -> " + (node.prompt[0] if node.prompt else
standard_sc_expr_str(node.item)) + path
- return "(top menu)" + path
+ return "(Top)" + path
def _name_and_val_str(sc):