]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GViewBase.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GViewBase.C
index 5032ae07104222cf00359d857a471344cc2c86d1..f7762c93c2b5e66220c56ed9cf048acde682ce28 100644 (file)
 
 #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"
 
@@ -102,6 +107,13 @@ void GViewBase::setRestore(Gtk::Button * restore)
 }
 
 
+void GViewBase::setTitle(std::string const & title)
+{
+       Dialog::View::setTitle(title);
+       window()->set_title(title);
+}
+
+
 bool GViewBase::readOnly() const
 {
        return kernel().isBufferReadonly();