Now shows the "Reboot" button after the actual shutdown attempt.

The invalidate work-around is no longer needed for the app_server.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16083 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-01-25 16:24:17 +00:00
parent 76c7d59103
commit 01e69aca05

View File

@ -490,8 +490,6 @@ public:
fCancelShutdownButton->Hide();
fRebootSystemButton->MakeDefault(true);
fRebootSystemButton->Show();
// TODO: Temporary work-around for a Haiku bug.
fRebootSystemButton->Invalidate();
SetTitle("System is Shut Down");
fTextView->SetText("It's now safe to turn off the computer.");
@ -1285,8 +1283,8 @@ ShutdownProcess::_WorkerDoShutdown()
// we're through: do the shutdown
_SetPhase(DONE_PHASE);
_SetShutdownWindowWaitForShutdown();
_ShutDown();
_SetShutdownWindowWaitForShutdown();
PRINT((" _kern_shutdown() failed\n"));
@ -1307,7 +1305,7 @@ ShutdownProcess::_WorkerDoShutdown()
_kern_shutdown(true);
#endif
}
// either there's no GUI or reboot failed: we enter the kernel debugger
// instead
#ifdef __HAIKU__