]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/Dialogs.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / Dialogs.C
index bfb1fc939e299b976096031fd907c0041104b6ea..ffc926049ffc6fea2b76ebedd0439d23526b57e8 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 "Dialogs.h"
 #include "Dialog.h"
 
@@ -79,7 +84,7 @@
 #include "GPrint.h"
 #include "FormRef.h"
 #include "GSearch.h"
-#include "FormSendto.h"
+#include "GSendto.h"
 #include "FormTabular.h"
 #include "GTexinfo.h"
 #include "GShowFile.h"
@@ -484,8 +489,9 @@ Dialogs::DialogPtr Dialogs::build(string const & name)
                dialog->setView(new FormRef(*dialog));
                dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
        } else if (name == "sendto") {
+               dialog->bc().view(new GBC(dialog->bc()));
                dialog->setController(new ControlSendto(*dialog));
-               dialog->setView(new FormSendto(*dialog));
+               dialog->setView(new GSendto(*dialog));
                dialog->bc().bp(new OkApplyCancelPolicy);
        } else if (name == "spellchecker") {
                dialog->bc().view(new GBC(dialog->bc()));