The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 03da96e0f7f2efe856146ac4c7fb8618bdca7307
Author: Richard Heck <[email protected]>
Date:   Tue Apr 17 16:44:04 2012 -0400

    Minor cleanup: We should use the usual conventions for
    InsetLayout names.

diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc
index 4bc60d9..11d86a0 100644
--- a/lib/layouts/stdinsets.inc
+++ b/lib/layouts/stdinsets.inc
@@ -170,7 +170,7 @@ InsetLayout Phantom
        ForcePlain            true
 End
 
-InsetLayout ListOfListings
+InsetLayout TOC:Listings
        # We need the [[List of Listings]] context, since "Listings" is also
        # the name of the inset and translated differently.
        # "Listings[[List of Listings]]" is the name of the "List of listings"
@@ -187,7 +187,7 @@ InsetLayout ListOfListings
        EndLangPreamble
 End
 
-InsetLayout IncludeListings
+InsetLayout Include:Listings
        BabelPreamble
                
\addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
        EndBabelPreamble
@@ -200,7 +200,7 @@ InsetLayout IncludeListings
 End
 
 InsetLayout Listings
-       CopyStyle IncludeListings
+       CopyStyle Include:Listings
        LabelString           Listings[[inset]]
        LatexType             none
        Decoration            minimalistic
diff --git a/src/insets/InsetTOC.cpp b/src/insets/InsetTOC.cpp
index 3b407b7..414d678 100644
--- a/src/insets/InsetTOC.cpp
+++ b/src/insets/InsetTOC.cpp
@@ -96,7 +96,7 @@ void InsetTOC::doDispatch(Cursor & cur, FuncRequest & cmd) {
 docstring InsetTOC::layoutName() const
 {
        if (getCmdName() == "lstlistoflistings")
-               return from_ascii("ListOfListings");
+               return from_ascii("TOC:Listings");
        return docstring();
 }
 

-----------------------------------------------------------------------

Summary of changes:
 lib/layouts/stdinsets.inc |    6 +++---
 src/insets/InsetTOC.cpp   |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to