using std::pair;
using std::string;
using std::vector;
-
+using lyx::support::FileFilterList;
namespace lyx {
-using support::FileFilterList;
-
namespace frontend {
bool ControlPrefs::initialiseParams(std::string const &)
{
rc_ = lyxrc;
- formats_ = ::formats;
- converters_ = ::converters;
+ formats_ = lyx::formats;
+ converters_ = lyx::converters;
converters_.update(formats_);
- movers_ = ::movers;
+ movers_ = lyx::movers;
colors_.clear();
update_screen_font_ = false;
kernel().dispatch(FuncRequest(LFUN_LYXRC_APPLY, ss.str()));
// FIXME: these need lfuns
- theBufferList().setCurrentAuthor(rc_.user_name, rc_.user_email);
+ // FIXME UNICODE
+ theBufferList().setCurrentAuthor(from_utf8(rc_.user_name), from_utf8(rc_.user_email));
- ::formats = formats_;
+ lyx::formats = formats_;
- ::converters = converters_;
- ::converters.update(::formats);
- ::converters.buildGraph();
+ lyx::converters = converters_;
+ lyx::converters.update(lyx::formats);
+ lyx::converters.buildGraph();
- ::movers = movers_;
+ lyx::movers = movers_;
vector<string>::const_iterator it = colors_.begin();
vector<string>::const_iterator const end = colors_.end();