8 #include "support/filetools.h"
9 #include "lyx_gui_misc.h"
14 Path(string const & path)
18 pushedDir_ = GetCWD();
19 if (pushedDir_.empty() || chdir(path.c_str())) {
20 WriteFSAlert(_("Error: Could not change to directory: "),
36 WriteFSAlert(_("Error: Dir already popped: "),
40 if (chdir(pushedDir_.c_str())) {
42 _("Error: Could not change to directory: "),