Init apps before menu, menus might ref apps. Removes the BUG message

on restart.


SVN revision: 15410
This commit is contained in:
sebastid 2005-06-18 01:42:13 +00:00 committed by sebastid
parent 2b59fb0143
commit 6c40f9a3ba
1 changed files with 7 additions and 7 deletions

View File

@ -372,6 +372,13 @@ main(int argc, char **argv)
}
_e_main_shutdown_push(e_init_shutdown);
}
/* init app system */
if (!e_app_init())
{
e_error_message_show(_("Enlightenment cannot set up its app system."));
_e_main_shutdown(-1);
}
_e_main_shutdown_push(e_app_shutdown);
/* manage the root window */
if (!_e_main_screens_init())
{
@ -383,13 +390,6 @@ main(int argc, char **argv)
e_container_all_freeze();
_e_main_shutdown_push(_e_main_screens_shutdown);
/* init app system */
if (!e_app_init())
{
e_error_message_show(_("Enlightenment cannot set up its app system."));
_e_main_shutdown(-1);
}
_e_main_shutdown_push(e_app_shutdown);
/* init theme system */
if (!e_theme_init())
{