1
1

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

LeftMenu and RightMenu are identical.
From Pavel Tsekov <ptsekov@gmx.net>
Этот коммит содержится в:
Pavel Roskin 2003-08-01 20:00:28 +00:00
родитель 90b7cbf2ea
Коммит ef2c07b7c8
2 изменённых файлов: 9 добавлений и 3 удалений

Просмотреть файл

@ -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> 2003-07-28 Andrew V. Samoilov <sav@bcs.zp.ua>
* main.c: Make more variables static. * main.c: Make more variables static.

Просмотреть файл

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