From b091589cf6d5f1d1009950e746b310f123b34009 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Fri, 20 Sep 2013 15:27:47 +0900 Subject: [PATCH] enventor - reset the theme properly after profile set. --- src/bin/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bin/main.c b/src/bin/main.c index 5967ce3..2c21943 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -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);