* editmenu.c: Use new create_menu() interface.

This commit is contained in:
Pavel Roskin 2002-08-20 21:31:23 +00:00
parent 608d74abda
commit 37318c2b78
2 changed files with 24 additions and 10 deletions

View File

@ -1,3 +1,7 @@
2002-08-20 David Martin <dmartina@excite.com>
* editmenu.c: Use new create_menu() interface.
2002-08-18 Pavel Roskin <proski@gnu.org> 2002-08-18 Pavel Roskin <proski@gnu.org>
* editoptions.c: Make some variables static. * editoptions.c: Make some variables static.

View File

@ -266,20 +266,30 @@ Menu EditMenuBar[N_menus];
void edit_init_menu_normal (void) void edit_init_menu_normal (void)
{ {
EditMenuBar[0] = create_menu (_(" File "), FileMenu, menu_entries (FileMenu)); EditMenuBar[0] = create_menu (_(" File "), FileMenu, menu_entries (FileMenu),
EditMenuBar[1] = create_menu (_(" Edit "), EditMenu, menu_entries (EditMenu)); "[Internal File Editor]");
EditMenuBar[2] = create_menu (_(" Sear/Repl "), SearReplMenu, menu_entries (SearReplMenu)); EditMenuBar[1] = create_menu (_(" Edit "), EditMenu, menu_entries (EditMenu),
EditMenuBar[3] = create_menu (_(" Command "), CmdMenu, menu_entries (CmdMenu)); "[Internal File Editor]");
EditMenuBar[4] = create_menu (_(" Options "), OptMenu, menu_entries (OptMenu)); EditMenuBar[2] = create_menu (_(" Sear/Repl "), SearReplMenu, menu_entries (SearReplMenu),
"[Internal File Editor]");
EditMenuBar[3] = create_menu (_(" Command "), CmdMenu, menu_entries (CmdMenu),
"[Internal File Editor]");
EditMenuBar[4] = create_menu (_(" Options "), OptMenu, menu_entries (OptMenu),
"[Internal File Editor]");
} }
void edit_init_menu_emacs (void) void edit_init_menu_emacs (void)
{ {
EditMenuBar[0] = create_menu (_(" File "), FileMenuEmacs, menu_entries (FileMenuEmacs)); EditMenuBar[0] = create_menu (_(" File "), FileMenuEmacs, menu_entries (FileMenuEmacs),
EditMenuBar[1] = create_menu (_(" Edit "), EditMenuEmacs, menu_entries (EditMenuEmacs)); "[Internal File Editor]");
EditMenuBar[2] = create_menu (_(" Sear/Repl "), SearReplMenuEmacs, menu_entries (SearReplMenuEmacs)); EditMenuBar[1] = create_menu (_(" Edit "), EditMenuEmacs, menu_entries (EditMenuEmacs),
EditMenuBar[3] = create_menu (_(" Command "), CmdMenuEmacs, menu_entries (CmdMenuEmacs)); "[Internal File Editor]");
EditMenuBar[4] = create_menu (_(" Options "), OptMenuEmacs, menu_entries (OptMenuEmacs)); EditMenuBar[2] = create_menu (_(" Sear/Repl "), SearReplMenuEmacs, menu_entries (SearReplMenuEmacs),
"[Internal File Editor]");
EditMenuBar[3] = create_menu (_(" Command "), CmdMenuEmacs, menu_entries (CmdMenuEmacs),
"[Internal File Editor]");
EditMenuBar[4] = create_menu (_(" Options "), OptMenuEmacs, menu_entries (OptMenuEmacs),
"[Internal File Editor]");
} }
void edit_done_menu (void) void edit_done_menu (void)