I see that this was asked some time ago for 11.04.
The answer there didn't help since the answer used gconf-editor to find a key called /apps/gnome-power-manager/actions/, which doesn't exist when I look in my install of 14.04.
This setting must be stored somewhere else?