cedric pushed a commit to branch enlightenment-0.17.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=761d716fe9ac028c4ffa94ef8791f47d294665b0

commit 761d716fe9ac028c4ffa94ef8791f47d294665b0
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Mon Dec 9 21:52:18 2013 +0900

    backlight - save after actions change backlight too.
---
 src/bin/e_actions.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c
index 2305309..9381d60 100644
--- a/src/bin/e_actions.c
+++ b/src/bin/e_actions.c
@@ -2859,6 +2859,7 @@ ACT_FN_GO(backlight_set, )
    e_backlight_mode_set(zone, E_BACKLIGHT_MODE_NORMAL);
    e_backlight_level_set(zone, ((double)v / 100.0), -1.0);
    e_config->backlight.normal = e_backlight_level_get(zone);
+   e_config_save_queue();
 }
 
 ACT_FN_GO(backlight_adjust, )
@@ -2870,6 +2871,7 @@ ACT_FN_GO(backlight_adjust, )
    e_backlight_mode_set(zone, E_BACKLIGHT_MODE_NORMAL);
    e_backlight_level_set(zone, e_backlight_level_get(zone) + ((double)v / 
100.0), -1.0);
    e_config->backlight.normal = e_backlight_level_get(zone);
+   e_config_save_queue();
 }
 
 ACT_FN_GO(kbd_layout, )

-- 


Reply via email to