]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/FileDialog.C
fix problem with nroff detection, remove dead code with old floats, bogus message...
[lyx.git] / src / frontends / gnome / FileDialog.C
index 466bcef414ba1b4ef7cfaa4ea74c988c4f81b3d6..162d49723f5bd598c1822bd4b55f416c52ee46c1 100644 (file)
@@ -1,4 +1,3 @@
-// -*- C++ -*-
 /* This file is part of
  * =================================================
  * 
@@ -117,9 +116,9 @@ FileDialog::Select(string const & path, string const & mask,
        private_->set_complete(mask);
        private_->set_filename(path+suggested);
        
-       ProhibitInput(lv_->view());
+       lv_->prohibitInput();
        string const filename = private_->exec();
-       AllowInput(lv_->view());
+       lv_->allowInput();
 
        // Collect the info and return it for synchronous dialog.
        return FileDialog::Result(Chosen, filename);