#include <config.h>
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
+
#include "GViewBase.h"
#include "support/filetools.h"
if (!window()) {
build();
}
+ update();
window()->show();
}
}
+void GViewBase::setTitle(std::string const & title)
+{
+ Dialog::View::setTitle(title);
+ window()->set_title(title);
+}
+
+
+bool GViewBase::readOnly() const
+{
+ return kernel().isBufferReadonly();
+}
+
+
void GViewBase::onApply()
{
dialog().ApplyButton();