#pragma implementation
#endif
+#include "ViewBase.h"
+#include "ButtonControllerBase.h"
#include "ControlGraphics.h"
#include "buffer.h"
#include "Dialogs.h"
-#include "lyxfunc.h"
#include "LyXView.h"
+#include "gettext.h"
#include "insets/insetgraphics.h"
+#include "insets/insetgraphicsParams.h" // need operator!=()
#include "support/FileInfo.h" // for FileInfo
#include "helper_funcs.h" // for browseFile
#include "support/filetools.h" // for AddName
+#include "BufferView.h"
using std::pair;
using std::make_pair;
{
string const title = N_("Graphics");
// FIXME: currently we need the second '|' to prevent mis-interpretation
- string const pattern = "*.(ps|png)|";
+ string const pattern = "*.(eps|png|jpeg|jpg|gif)|";
// Does user clipart directory exist?
string clipdir = AddName (user_lyxdir, "clipart");