The code is indeed asking GDM whether sleep, hibernate, etc., is
enabled, and this has been imported from the upstream logout dialog.
Marking as confirmed.
** Changed in: gnome-session (Ubuntu)
Status: Unconfirmed => Confirmed
--
Logout dialog signals gdm to perform p-m actions
https://launchpad.net/bugs/43872