* main.c: Rename PanelMenu to LeftMenu. Don't assume that

LeftMenu and RightMenu are identical.
From Pavel Tsekov <ptsekov@gmx.net>
This commit is contained in:
Pavel Roskin 2003-08-01 20:00:28 +00:00
parent 90b7cbf2ea
commit ef2c07b7c8
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2003-08-01 Pavel Roskin <proski@gnu.org>
* main.c: Rename PanelMenu to LeftMenu. Don't assume that
LeftMenu and RightMenu are identical.
From Pavel Tsekov <ptsekov@gmx.net>
2003-07-28 Andrew V. Samoilov <sav@bcs.zp.ua>
* main.c: Make more variables static.

View File

@ -806,7 +806,7 @@ listmode_cmd (void)
#endif /* LISTMODE_EDITOR */
/* NOTICE: hotkeys specified here are overriden in menubar_paint_idx (alex) */
static menu_entry PanelMenu[] = {
static menu_entry LeftMenu[] = {
{' ', N_("&Listing mode..."), 'L', listing_cmd},
{' ', N_("&Quick view C-x q"), 'Q', quick_view_cmd},
{' ', N_("&Info C-x i"), 'I', info_cmd},
@ -941,7 +941,7 @@ init_menu (void)
{
MenuBar[0] =
create_menu (horizontal_split ? _(" &Above ") : _(" &Left "),
PanelMenu, menu_entries (PanelMenu),
LeftMenu, menu_entries (LeftMenu),
"[Left and Right Menus]");
MenuBar[1] =
create_menu (_(" &File "), FileMenu, menu_entries (FileMenu),
@ -954,7 +954,7 @@ init_menu (void)
"[Options Menu]");
MenuBar[4] =
create_menu (horizontal_split ? _(" &Below ") : _(" &Right "),
RightMenu, menu_entries (PanelMenu),
RightMenu, menu_entries (RightMenu),
"[Left and Right Menus]");
}