- call bx_gui::update_drive_status_buttons after all hardware has been

initialized.  This should fix
  Bug #630865: CDRom icon in toolbar initiall 'ejected'
This commit is contained in:
Bryce Denney 2002-11-20 13:08:17 +00:00
parent bb428aaeb9
commit 00c0ff3a5a

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: main.cc,v 1.186 2002-11-19 08:54:32 bdenney Exp $
// $Id: main.cc,v 1.187 2002-11-20 13:08:17 bdenney Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -2056,6 +2056,9 @@ bx_init_hardware()
alarm( 1 );
#endif
// update headerbar buttons since drive status can change during init
bx_gui->update_drive_status_buttons ();
return(0);
}