- Revert to calling Minimize() on the window constructor as this works as

expected now.
- Yeah, yeah... Style guidelines. I just followed what is used throughout
  this file. :)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30630 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Bruno G. Albuquerque
2009-05-05 01:31:01 +00:00
parent f7b4d19dc4
commit 28b6c8138b
+6 -1
View File
@@ -4904,7 +4904,6 @@ void ABSApp::ReadyToRun ()
}
else {
DatabaseWindowPntr->Show (); /* Starts the window's message loop. */
DatabaseWindowPntr->Minimize (g_ServerMode);
}
}
@@ -7057,6 +7056,12 @@ DatabaseWindow::DatabaseWindow ()
if (m_WordsViewPntr == NULL)
goto ErrorExit;
AddChild (m_WordsViewPntr);
/* Minimize the window if we are starting up in server mode. This is done
before the window is open so it doesn't flash onto the screen, and possibly
steal a keystroke or two. The ControlsView will further update the minimize
mode when it detects changes in the server mode. */
Minimize (g_ServerMode);
return;