/**
- * \file xforms/lyx_gui.C
+ * \file gnome/lyx_gui.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author unknown
* \author John Levon
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "support/lyxlib.h"
#include "support/os.h"
#include "support/filetools.h"
+#include "support/path_defines.h"
#include "debug.h"
#include "gettext.h"
#include "xfont_loader.h"
#include "xformsImage.h"
-#include "Lsstream.h"
+#include <boost/bind.hpp>
+
+#include <sstream>
#include <iomanip>
#include <fcntl.h>
-#include <boost/bind.hpp>
#include "gnome_helpers.h"
#include <gtkmm/main.h>
using std::exit;
#endif
+using std::ostringstream;
using std::vector;
using std::hex;
using std::dec;
XSetErrorHandler(LyX_XErrHandler);
- lyxColorHandler.reset(new LyXColorHandler());
+ lyxColorHandler.reset(new LyXColorHandler);
- using namespace grfx;
+ using namespace lyx::graphics;
// connect the image loader based on the xforms library
Image::newImage = boost::bind(&xformsImage::newImage);
void lyx_gui::parse_lyxrc()
{
- XformsColor::read(AddName(user_lyxdir, "preferences.xform"));
+ XformsColor::read(AddName(user_lyxdir(), "preferences.xform"));
if (lyxrc.popup_font_encoding.empty())
lyxrc.popup_font_encoding = lyxrc.font_norm;