Comment 9 for bug 938076

OK, I have had some more time to think this over. My proposal in comment #6 is very intrusive and would change a lot of upstream code this late in the cycle. Here is an even better proposal:

1- Add a new gsettings key called "lock-on-suspend", which defaults to true. This would revert us back to Oneiric behaviour

2- If we can get a UI exception, we simply add a new toggle switch to the brightness and lock applet with a "Lock screen on suspend" label

This should take care of all the usage scenarios, while minimizing the changes to the upstream gnome code.

mpt, would that be acceptable?