#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
#include "converter.h"
#include "lyxrc.h"
#include "buffer.h"
}
+// FIXME: horrednously mis-named, especially given the other ::add
+// function
void Formats::add(string const & name, string const & extension,
string const & prettyname, string const & shortcut)
{
BufferView * bv = buffer->getUser();
if (bv) {
- bv->owner()->prohibitInput();
+ bv->owner()->busy(true);
// all error insets should have been removed by now
}
bv->repaint();
bv->fitCursor();
}
- bv->owner()->allowInput();
+ bv->owner()->busy(false);
}
if ((result & LaTeX::ERRORS)) {
BufferView * bv = buffer->getUser();
if (bv) {
- bv->owner()->prohibitInput();
+ bv->owner()->busy(true);
bv->owner()->message(_("Running LaTeX..."));
// all the autoinsets have already been removed
}
}
if (bv)
- bv->owner()->allowInput();
+ bv->owner()->busy(false);
int const ERROR_MASK =
LaTeX::NO_LOGFILE |