]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.C
Change to use preffered calling of Boost.Function
[lyx.git] / src / lyx_cb.C
index 9009677032c6919e29a9c677a1e4b12d249e2381..6988a430e707ba0d934820dcf5b6c7f586ca5c31 100644 (file)
@@ -62,6 +62,7 @@ using lyx::support::MakeDisplayPath;
 using lyx::support::OnlyFilename;
 using lyx::support::OnlyPath;
 using lyx::support::Path;
+using lyx::support::QuoteName;
 using lyx::support::removeAutosaveFile;
 using lyx::support::rename;
 using lyx::support::split;
@@ -242,7 +243,7 @@ private:
 int AutoSaveBuffer::start()
 {
        command_ = bformat(_("Auto-saving %1$s"), fname_);
-       return runNonBlocking();
+       return run(DontWait);
 }
 
 
@@ -446,13 +447,13 @@ void Reconfigure(BufferView * bv)
        Path p(user_lyxdir());
        Systemcall one;
        one.startscript(Systemcall::Wait,
-                       AddName(system_lyxdir(), "configure"));
+                       QuoteName(AddName(system_lyxdir(), "configure")));
        p.pop();
        bv->owner()->message(_("Reloading configuration..."));
        lyxrc.read(LibFileSearch(string(), "lyxrc.defaults"));
 
        Alert::information(_("System reconfigured"),
                _("The system has been reconfigured.\n"
-               "You need to restart LyX to make use of any \n"
+               "You need to restart LyX to make use of any\n"
                "updated document class specifications."));
 }