]> git.lyx.org Git - features.git/commitdiff
Add Branch: to label
authorMartin Vermeer <martin.vermeer@hut.fi>
Wed, 3 Sep 2003 09:29:07 +0000 (09:29 +0000)
committerMartin Vermeer <martin.vermeer@hut.fi>
Wed, 3 Sep 2003 09:29:07 +0000 (09:29 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7643 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/insetbranch.C

index b2cc5f8736d673d336ebe7ba9460b47b037d8791..3875825718cfc8c7b39324607ce4c9e1a3dd5340 100644 (file)
@@ -1,3 +1,7 @@
+2003-08-26  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetbranch.C: Add Branch: to label
+
 2003-09-02  John Levon  <levon@movementarian.org>
 
        * insettext.h:
index a7da67000a179af366c0c995e8b58bce98ca48c8..b34f11b34eb28e4c0c2a0e84d8c0dfd4cbf025d2 100644 (file)
@@ -97,7 +97,7 @@ void InsetBranch::setButtonLabel()
        font.decSize();
        font.decSize();
 
-       setLabel(params_.branch);
+       setLabel("Branch: " + params_.branch);
        font.setColor(LColor::foreground);
        string const color = params_.branchlist.getColor(params_.branch);
        if (!color.empty()) {
@@ -148,7 +148,6 @@ dispatch_result InsetBranch::localDispatch(FuncRequest const & cmd)
 }
 
 
-
 int InsetBranch::latex(Buffer const & buf, ostream & os,
        LatexRunParams const & runparams) const
 {