X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetBranch.cpp;h=38e32e4bce38383d29a148a768068265ff2c9c90;hb=5008ee540f84715cd10e87f3fa0cd5dc7b974784;hp=29f19e9ba77ed2225149e26a6cefb8c6d108c64b;hpb=06baeac0646a2d63145ff3b18a3180ca69c6b288;p=features.git diff --git a/src/insets/InsetBranch.cpp b/src/insets/InsetBranch.cpp index 29f19e9ba7..38e32e4bce 100644 --- a/src/insets/InsetBranch.cpp +++ b/src/insets/InsetBranch.cpp @@ -20,7 +20,7 @@ #include "FuncRequest.h" #include "FuncStatus.h" #include "gettext.h" -#include "LColor.h" +#include "Color.h" #include "Lexer.h" #include "Paragraph.h" #include "OutputParams.h" @@ -99,17 +99,17 @@ void InsetBranch::setButtonLabel() font.decSize(); docstring s = _("Branch: ") + params_.branch; - font.setColor(LColor::foreground); + font.setColor(Color::foreground); if (!params_.branch.empty()) { // FIXME UNICODE - LColor_color c = lcolor.getFromLyXName(to_utf8(params_.branch)); - if (c == LColor::none) { - c = LColor::error; + Color_color c = lcolor.getFromLyXName(to_utf8(params_.branch)); + if (c == Color::none) { + c = Color::error; s = _("Undef: ") + s; } setBackgroundColor(c); } else - setBackgroundColor(LColor::background); + setBackgroundColor(Color::background); setLabel(isOpen() ? s : getNewLabel(s) ); setLabelFont(font); }