#include "support/globbing.h"
#include "support/path_defines.h"
-#include "support/std_sstream.h"
-
-using lyx::support::AddName;
-using lyx::support::FileFilterList;
-using lyx::support::system_lyxdir;
-using lyx::support::user_lyxdir;
+#include <sstream>
using std::ostringstream;
using std::pair;
extern BufferList bufferlist;
+namespace lyx {
+
+using support::AddName;
+using support::FileFilterList;
+using support::system_lyxdir;
+using support::user_lyxdir;
+
+namespace frontend {
+
+
ControlPrefs::ControlPrefs(Dialog & parent)
: Dialog::Controller(parent),
redraw_gui_(false),
void ControlPrefs::dispatchParams()
{
- ostringstream ss;
- rc_.write(ss);
- kernel().dispatch(FuncRequest(LFUN_LYXRC_APPLY, ss.str()));
+ ostringstream ss;
+ rc_.write(ss, true);
+ kernel().dispatch(FuncRequest(LFUN_LYXRC_APPLY, ss.str()));
// FIXME: these need lfuns
bufferlist.setCurrentAuthor(rc_.user_name, rc_.user_email);
{
return browseDir(path, title);
}
+
+} // namespace frontend
+} // namespace lyx