gnome-shell/js/misc
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
..
config.js.in make NetworkManager optional 2014-02-11 18:04:44 -05:00
extensionUtils.js Fix typo 2014-12-11 15:48:51 +01:00
fileUtils.js fileUtils: Remove listDirAsync() 2014-01-09 13:23:26 -05:00
gnomeSession.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
history.js js: Use EVENT_PROPAGATE/EVENT_STOP constants in event handlers 2013-12-16 18:27:19 +01:00
ibusManager.js ibusManager: Disable IBus input sources on password entries 2015-01-12 16:13:45 +01:00
jsParse.js
keyboardManager.js keyboardManager: Adopt to changes in meta_display_freeze_keyboard 2014-10-14 14:47:23 -07:00
loginManager.js misc: Add missing check on reply from systemd's CanSuspend D-Bus method 2015-04-22 23:17:45 +01:00
modemManager.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
objectManager.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
params.js
smartcardManager.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
util.js util: Add createTimeLabel() 2015-03-04 13:55:01 +01:00