Am Freitag 24 September 2010, 13:02:59 schrieb Thomas Zimmermann:
> Ok that's seems to be very annyoing too. The reason that it's not in my
> list is, that i couldn't reproduce it.
> 
> But the dimming problem is sth i can try to fix, as it shut be very similar
> to the powersettings.
> 
> Thomas

I haven't tested it, but i think the attached patch can fix it.
I will try.
From 881ccdaf34e837e16ca4493f69521f0148e7946e Mon Sep 17 00:00:00 2001
From: Thomas Zimmermann <[email protected]>
Date: Fri, 24 Sep 2010 14:12:05 +0200
Subject: [PATCH] fsodeviced: kernel_idle: write idle timeouts to config on change

---
 fsodeviced/src/plugins/kernel_idle/plugin.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fsodeviced/src/plugins/kernel_idle/plugin.vala b/fsodeviced/src/plugins/kernel_idle/plugin.vala
index 0e5c749..445921e 100644
--- a/fsodeviced/src/plugins/kernel_idle/plugin.vala
+++ b/fsodeviced/src/plugins/kernel_idle/plugin.vala
@@ -372,6 +372,7 @@ class IdleNotifier : FreeSmartphone.Device.IdleNotifier, FsoFramework.AbstractOb
 
     public async void set_timeout( FreeSmartphone.Device.IdleState status, int timeout ) throws DBus.Error
     {
+        config.write( KERNEL_IDLE_PLUGIN_NAME, states[status], timeout );
         idlestatus.timeouts[status] = timeout;
     }
 
-- 
1.7.1

_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to