]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlGraphics.C
John's character.C patch (bug fix).
[lyx.git] / src / frontends / controllers / ControlGraphics.C
index 1da149a2426229c42f3e21076ef1651ac4b5972f..ba54e93ad96682b18575239d1b553a1d9b41200b 100644 (file)
@@ -1,4 +1,3 @@
-// -*- C++ -*-
 /* This file is part of
  * ====================================================== 
  *
@@ -32,6 +31,7 @@
 #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;
@@ -79,7 +79,7 @@ string const ControlGraphics::Browse(string const & in_name)
 {
        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|gif)|";
 
        // Does user clipart directory exist?
        string clipdir = AddName (user_lyxdir, "clipart");