solaar: update code comment - not using UPower daemon
This commit is contained in:
parent
5aa02aa01d
commit
9a806a91de
|
@ -52,7 +52,7 @@ def _suspend_or_resume(suspend):
|
||||||
|
|
||||||
def watch(on_resume_callback=None, on_suspend_callback=None):
|
def watch(on_resume_callback=None, on_suspend_callback=None):
|
||||||
"""Register callback for suspend/resume events.
|
"""Register callback for suspend/resume events.
|
||||||
They are called only if the system DBus is running, and the UPower daemon is available."""
|
They are called only if the system DBus is running, and the Login daemon is available."""
|
||||||
global _resume_callback, _suspend_callback
|
global _resume_callback, _suspend_callback
|
||||||
_suspend_callback = on_suspend_callback
|
_suspend_callback = on_suspend_callback
|
||||||
_resume_callback = on_resume_callback
|
_resume_callback = on_resume_callback
|
||||||
|
|
Loading…
Reference in New Issue