[Bug 872] Implement GPS and BT power in neod power button menu

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Fri Sep 28 09:26:23 CEST 2007


------- Additional Comments From alex at alexdalton.org  2007-09-28 09:26 -------
Me has written : 
- For the BT part, it just sets the power_on of the bt pm sysfs to 0/1.
problem is that it is not in sync with the panel-bt. i.e. if you activate BT
with the power button, the icon in bt-applet will not change. Need suggestions
on how to implement that...

I'm just thinking about something and request for comments. 

What about creating some gconf keys in order to save the status of the BT / GSM
/ GPS power in order to centralize the state and allow all components to be
aware of a state change in order to properly reflect the status ?

If all components registers to these keys, if any of them changes the value, all
other components would be notified of that change and can reflect the new status
in their icons / menu items etc...

Is this the right way to do it ?

I'll anyway give it a try soon.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the buglog mailing list