View Single Post
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#15
Originally Posted by Jeffrey04 View Post
do i have to emit a signal after toggling it on and off? I have my daemon changing the value via gconf and apps don't really seem to react properly on the change of this configuration value

my code is here https://bitbucket.org/jeffrey04/rest...dater_class.py

EDIT: I am thinking on removing the heartbeat thingy (qsystemalignedtimer?) and subscribe to the event where connection is changed, but don't really know how to do it

EDIT: btw, it is actually sort of possible to automatically turn on/off 'allow background connections' using ajalkane's profilematic app
Actually it is not possible with ProfileMatic. The gconf commands I posted above change the setting in the UI, but it has no effect. So what I did to ProfileMatic doesn't work. I have removed it now, but the update is pending on Ovi store.

If you figure out how to do it so that it works, please post. I'm afraid it requires poking something with mce, and it may be blocked by aegis. But I don't even know what should be sent to mce.
__________________
My N9/N950 projects: