The branch, 2.0.x, has been updated.

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

commit 41e648837a056539f9c918ea328417de2a654fc0
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Fri Nov 23 16:30:27 2012 +0100

    Show status of branches even when inset is closed

diff --git a/src/insets/InsetBranch.cpp b/src/insets/InsetBranch.cpp
index 9b06c5e..19df7fb 100644
--- a/src/insets/InsetBranch.cpp
+++ b/src/insets/InsetBranch.cpp
@@ -90,11 +90,12 @@ docstring const InsetBranch::buttonLabel(BufferView const & 
bv) const
                if (c == Color_none)
                        s = _("Undef: ") + s;
        }
-       s = char_type(isBranchSelected() ? 0x2714 : 0x2716) + s;
+
+       docstring const symb = docstring(1, char_type(isBranchSelected() ? 
0x2714 : 0x2716));
        if (decoration() == InsetLayout::CLASSIC)
-               return isOpen(bv) ? s : getNewLabel(s);
+               return symb + (isOpen(bv) ? s : getNewLabel(s));
        else
-               return params_.branch + ": " + getNewLabel(s);
+               return symb + params_.branch + ": " + getNewLabel(s);
 }
 
 
diff --git a/status.20x b/status.20x
index 8c0d0e9..fca87b0 100644
--- a/status.20x
+++ b/status.20x
@@ -40,6 +40,9 @@ What's new
 
 - Categorize paragraph styles of the linguistics module.
 
+- Show a symbol on collapsed branches indicating whether they are
+  active.
+
 
 * DOCUMENTATION AND LOCALIZATION
 

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

Summary of changes:
 src/insets/InsetBranch.cpp |    7 ++++---
 status.20x                 |    3 +++
 2 files changed, 7 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to