From 3db71143eab807fbb1a9da5f3184ff961f0ee909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Wed, 7 May 2008 19:23:11 +0000 Subject: [PATCH] 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 --- src/servers/registrar/ShutdownProcess.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/servers/registrar/ShutdownProcess.cpp b/src/servers/registrar/ShutdownProcess.cpp index ec1abf3434..7c8ef4b0b8 100644 --- a/src/servers/registrar/ShutdownProcess.cpp +++ b/src/servers/registrar/ShutdownProcess.cpp @@ -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();