discomfitor pushed a commit to branch master.
commit 107e32422e8835c77384e412403523ccc5659ea7
Author: Mike Blumenkrantz <[email protected]>
Date: Tue May 21 14:02:04 2013 +0100
fix conf2/gettext init debacle
phab review issue
---
src/bin/e_main.c | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/src/bin/e_main.c b/src/bin/e_main.c
index 6025d77..fe6f2ca 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -625,6 +625,21 @@ main(int argc, char **argv)
TS("Efreet Init Done");
_e_main_shutdown_push(efreet_shutdown);
+ if (e_config->show_splash)
+ e_init_status_set(_("Starting International Support"));
+ TS("E_Intl Post Init");
+ if (!e_intl_post_init())
+ {
+ e_error_message_show(_("Enlightenment cannot set up its intl
system.\n"));
+ _e_main_shutdown(-1);
+ }
+ TS("E_Intl Post Init Done");
+ _e_main_shutdown_push(e_intl_post_shutdown);
+
+ TS("E_Configure Option Init");
+ e_configure_option_init();
+ TS("E_Configure Option Init Done");
+
e_screensaver_preinit();
if (e_config->show_splash)
@@ -668,20 +683,6 @@ main(int argc, char **argv)
e_init_show();
}
- if (e_config->show_splash)
- e_init_status_set(_("Starting International Support"));
- TS("E_Intl Post Init");
- if (!e_intl_post_init())
- {
- e_error_message_show(_("Enlightenment cannot set up its intl
system.\n"));
- _e_main_shutdown(-1);
- }
- TS("E_Intl Post Init Done");
- _e_main_shutdown_push(e_intl_post_shutdown);
-
- TS("E_Configure Option Init");
- e_configure_option_init();
- TS("E_Configure Option Init Done");
//configure_option_shutdown needs to be first
if (!really_know)
@@ -1049,9 +1050,6 @@ main(int argc, char **argv)
TS("Manage all windows");
_e_main_manage_all();
- /* this needs to be the first function called on shutdown */
- _e_main_shutdown_push(e_configure_option_shutdown);
-
_idle_after = ecore_idle_enterer_add(_e_main_cb_idle_after, NULL);
if (e_config->show_splash)
@@ -1139,6 +1137,8 @@ _e_main_shutdown(int errcode)
if (_idle_flush) ecore_idle_enterer_del(_idle_flush);
_idle_flush = NULL;
+ e_configure_option_shutdown();
+
for (i = (_e_main_lvl - 1); i >= 0; i--)
(*_e_main_shutdown_func[i])();
if (errcode < 0) exit(errcode);
--
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may