#include <config.h>
-#include "Lsstream.h"
-
#include "insetbranch.h"
-#include "gettext.h"
-#include "lyxfont.h"
-#include "language.h"
+
#include "buffer.h"
#include "BufferView.h"
-#include "LaTeXFeatures.h"
-#include "latexrunparams.h"
+#include "funcrequest.h"
+#include "gettext.h"
#include "lyxlex.h"
-#include "lyxtext.h"
-#include "insets/insettext.h"
-#include "support/LOstream.h"
-#include "support/lstrings.h"
-#include "debug.h"
-using std::ostream;
+#include "support/std_sstream.h"
+
using std::auto_ptr;
+using std::ostream;
+
void InsetBranch::init()
{
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()) {
case LFUN_INSET_EDIT:
if (cmd.button() != mouse_button::button3)
return InsetCollapsable::localDispatch(cmd);
+
return UNDISPATCHED;
case LFUN_INSET_DIALOG_UPDATE:
InsetBranchMailer("branch", *this).updateDialog(bv);
}
-
int InsetBranch::latex(Buffer const & buf, ostream & os,
LatexRunParams const & runparams) const
{