forked from enlightenment/enventor
enventor - reset the theme properly after profile set.
This commit is contained in:
parent
537f757ba9
commit
b091589cf6
|
@ -565,10 +565,14 @@ elm_setup()
|
|||
{
|
||||
elm_config_profile_set("standard");
|
||||
|
||||
//Recover the scale since it will be reset by elm_config_profile_set()
|
||||
/* Recover the scale & theme since it will be reset by
|
||||
elm_config_profile_set() */
|
||||
char *scale = getenv("ELM_SCALE");
|
||||
if (scale) elm_config_scale_set(atof(scale));
|
||||
|
||||
char *theme = getenv("ELM_THEME");
|
||||
if (theme) elm_theme_set(NULL, theme);
|
||||
|
||||
elm_config_scroll_bounce_enabled_set(EINA_FALSE);
|
||||
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
|
||||
elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR);
|
||||
|
|
Loading…
Reference in New Issue