aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-02-21 12:49:30 +0000
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-02-22 13:18:30 +0000
commit7128c8fbe68de9365dc9da987911beb65ab4af07 (patch)
treef43a6d2d06495a88aa79e2ea4285f26dae3d6345
parent536254e2ce13189bf241574d5fb123e155ff3e7e (diff)
downloadenlightenment-7128c8fbe68de9365dc9da987911beb65ab4af07.tar.gz
enlightenment-7128c8fbe68de9365dc9da987911beb65ab4af07.tar.xz
enlightenment-7128c8fbe68de9365dc9da987911beb65ab4af07.zip
add e_toolbar init/shutdown to startup and shutdown
-rw-r--r--src/bin/e_main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bin/e_main.c b/src/bin/e_main.c
index 6d6522042..1adc61e6d 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -902,6 +902,17 @@ main(int argc, char **argv)
_e_main_shutdown_push(e_gadcon_shutdown);
if (e_config->show_splash)
+ e_init_status_set(_("Setup Toolbars"));
+ TS("E_Toolbar Init");
+ if (!e_toolbar_init())
+ {
+ e_error_message_show(_("Enlightenment cannot set up its toolbars.\n"));
+ _e_main_shutdown(-1);
+ }
+ TS("E_Toolbar Init Done");
+ _e_main_shutdown_push(e_toolbar_shutdown);
+
+ if (e_config->show_splash)
e_init_status_set(_("Setup Wallpaper"));
TS("E_Bg Init");
if (!e_bg_init())