gnome-shell/js
Mario Sanchez Prada be78f0f36a misc: Add missing check on reply from systemd's CanSuspend D-Bus method
According to systemd logind's documentation, the CanSuspend() method
"returns 'na' in case "the operation is not available because hardware,
kernel or drivers do not support it", while "'no' is returned if the
operation is available but the user is not allowed to execute it".

See http://www.freedesktop.org/wiki/Software/systemd/logind

Thus, we need to return true here when the reply for the CanSuspend
method is neither 'no' nor 'na', or we would providing false positives
in cases where suspension is simply unsupported.

https://bugzilla.gnome.org/show_bug.cgi?id=748338
2015-04-22 23:17:45 +01:00
..
extensionPrefs ExtensionPrefs: remove unused GSettings object 2015-03-27 13:11:22 -07:00
gdm authPrompt: Fix hang if user types password really fast 2015-04-07 16:02:21 -04:00
misc misc: Add missing check on reply from systemd's CanSuspend D-Bus method 2015-04-22 23:17:45 +01:00
perf Revert accidental commit "Test stuff" 2014-09-03 13:47:18 -04:00
portalHelper PortalHelper: Make translator comment appear 2015-01-28 13:47:56 +01:00
ui messageTray: Make notification banners unfocusable 2015-04-16 18:31:18 +02:00
js-resources.gresource.xml legacyTray: Add a hideable tray for legacy status icons 2015-03-03 19:14:49 +01:00
Makefile.am js/Makefile.am: Fix dependency generation with srcdir != builddir 2014-06-29 18:27:53 -04:00