forked from enlightenment/enlightenment
Init apps before menu, menus might ref apps. Removes the BUG message
on restart. SVN revision: 15410
This commit is contained in:
parent
2b59fb0143
commit
6c40f9a3ba
|
@ -372,6 +372,13 @@ main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
_e_main_shutdown_push(e_init_shutdown);
|
_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 */
|
/* manage the root window */
|
||||||
if (!_e_main_screens_init())
|
if (!_e_main_screens_init())
|
||||||
{
|
{
|
||||||
|
@ -383,13 +390,6 @@ main(int argc, char **argv)
|
||||||
e_container_all_freeze();
|
e_container_all_freeze();
|
||||||
|
|
||||||
_e_main_shutdown_push(_e_main_screens_shutdown);
|
_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 */
|
/* init theme system */
|
||||||
if (!e_theme_init())
|
if (!e_theme_init())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue