Comment 12 for bug 1300798

Revision history for this message
A. Eibach (andi3) wrote :

to comment 2 :

"Yes, we disable hibernation by default in policykit-desktop-privileges. LXDE's session menu needs to check whether suspend or hibernation is possible (CanSuspend/CanHibernate) before offering it, similar to GNOME and Unity's session-indicator."

Exactly my opinion! DO NOT DISPLAY "Hibernate" if CanHibernate is set to false! Just omit it. When there is no permission, it must not show up and then output this ugly error to the user (which normally will only be useful to power users anyhow).