cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=cab25162576965a2a6267871045c7c512b86f1c2

commit cab25162576965a2a6267871045c7c512b86f1c2
Author: Shilpa Singh <shilpa.si...@samsung.com>
Date:   Mon Jun 5 13:44:48 2017 -0700

    elm_config: password mode change should reflect on already running 
applications.
    
    Summary:
    When password mode is changed, the change has to reflect on already running
    apps as well. config_sub_apply will not be called for an already running 
app.
    
    Test Plan:
    1. 2 running process
    2. Change the config value of password last show in one process
    3. Check whether the change has reflected in previous process.
    
    Signed-off By: Shilpa Singh<shilpa.si...@samsung.com>
    
    Reviewers: jpeg, cedric, thiepha
    
    Subscribers: govi, rajeshps
    
    Differential Revision: https://phab.enlightenment.org/D4916
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/elementary/elm_config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index 582eb3e969..1d24f17346 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -1530,6 +1530,8 @@ _config_apply(void)
 {
    _elm_theme_parse(NULL, _elm_config->theme);
    ecore_animator_frametime_set(1.0 / _elm_config->fps);
+   edje_password_show_last_set(_elm_config->password_show_last);
+   
edje_password_show_last_timeout_set(_elm_config->password_show_last_timeout);
 }
 
 static void
@@ -1537,8 +1539,6 @@ _config_sub_apply(void)
 {
    edje_frametime_set(1.0 / _elm_config->fps);
    edje_scale_set(_elm_config->scale);
-   edje_password_show_last_set(_elm_config->password_show_last);
-   
edje_password_show_last_timeout_set(_elm_config->password_show_last_timeout);
    
edje_transition_duration_factor_set(_elm_config->transition_duration_factor);
    if (_elm_config->modules) _elm_module_parse(_elm_config->modules);
    edje_audio_channel_mute_set(EDJE_CHANNEL_EFFECT, 
_elm_config->audio_mute_effect);

-- 


Reply via email to