Print a message about restarting or shutting down the computer. Since this

may take a short moment on real hardware, it is better than the "Asking blah
to quit..." which is otherwise still left.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25355 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2008-05-07 19:23:11 +00:00
parent fde63f5602
commit 3db71143ea

View File

@ -1306,6 +1306,10 @@ ShutdownProcess::_WorkerDoShutdown()
// we're through: do the shutdown
_SetPhase(DONE_PHASE);
if (fReboot)
_SetShutdownWindowText("Restarting" B_UTF8_ELLIPSIS);
else
_SetShutdownWindowText("Shutting down" B_UTF8_ELLIPSIS);
_ShutDown();
_SetShutdownWindowWaitForShutdown();