commit ef5d7023259d1483996eaa7d1191ddb417b714a4 Author: Juergen Spitzmueller <sp...@lyx.org> Date: Mon Jan 27 12:04:58 2014 +0100
Harmonize naming diff --git a/src/frontends/qt4/Menus.cpp b/src/frontends/qt4/Menus.cpp index f3d0437..bfb0d70 100644 --- a/src/frontends/qt4/Menus.cpp +++ b/src/frontends/qt4/Menus.cpp @@ -189,7 +189,7 @@ public: in the InsetCaption context menu. */ SwitchCaptions, /** Commands to separate environments. */ - EnvironmentSeparation + EnvironmentSeparators }; explicit MenuItem(Kind kind) : kind_(kind), optional_(false) {} @@ -659,7 +659,7 @@ void MenuDefinition::read(Lexer & lex) break; case md_env_separators: - add(MenuItem(MenuItem::EnvironmentSeparation)); + add(MenuItem(MenuItem::EnvironmentSeparators)); break; case md_optsubmenu: @@ -1846,7 +1846,7 @@ struct Menus::Impl { sequence of Command MenuItems: Lastfiles, Documents, ViewFormats, ExportFormats, UpdateFormats, Branches, Indices, Arguments, SwitchArguments, Captions, SwitchCaptions, - EnvironmentSeparation + EnvironmentSeparators */ void expand(MenuDefinition const & frommenu, MenuDefinition & tomenu, BufferView const *) const; @@ -2083,7 +2083,7 @@ void Menus::Impl::expand(MenuDefinition const & frommenu, tomenu.expandCaptions(buf, true); break; - case MenuItem::EnvironmentSeparation: + case MenuItem::EnvironmentSeparators: tomenu.expandEnvironmentSeparators(bv); break;