> > Insert->File->Child Document->Include Type->"Program Listing" > > > > or something similar ? > > (see http://bugzilla.lyx.org/show_bug.cgi?id=4104 ) > > FWIW, I think it is a sensible change.
if there are no objections i propose the following patch. ([[menu]] is added since there is no menu shortcut to distinguish it from other occurences and in other langueages there is possibility to add correct shortcut.) btw when pasting child document of listing type, the inset "Program Listing" is not translated, but dont know how to fix it (michael?) pavel
Index: src/frontends/qt4/ui/IncludeUi.ui =================================================================== --- src/frontends/qt4/ui/IncludeUi.ui (revision 19367) +++ src/frontends/qt4/ui/IncludeUi.ui (working copy) @@ -299,7 +299,7 @@ </item> <item> <property name="text" > - <string>Listing</string> + <string>Program Listing</string> </property> </item> </widget> Index: lib/ui/stdmenus.inc =================================================================== --- lib/ui/stdmenus.inc (revision 19367) +++ lib/ui/stdmenus.inc (working copy) @@ -312,7 +312,7 @@ Item "Marginal Note|M" "marginalnote-insert" Item "Short Title|S" "optional-insert" Item "TeX Code|X" "ert-insert" - Item "Program Listing" "listing-insert" + Item "Program Listing[[Menu]]" "listing-insert" Item "Date" "date-insert" End