diff options
author | Gordon Norman Squash <[email protected]> | 2023-03-17 21:06:33 -0400 |
---|---|---|
committer | Luke from DC <[email protected]> | 2023-03-27 03:16:17 +0000 |
commit | 061193aca2309da9caeecf228857631a40739d9a (patch) | |
tree | 5a8bdaaca618d03128ea8784c746fd82c7db2256 /help/mate-fish/es_MX/es_MX.po | |
parent | e504576092e499bdc5ecb14fc8b99db74ee9382d (diff) | |
download | mate-panel-061193aca2309da9caeecf228857631a40739d9a.tar.bz2 mate-panel-061193aca2309da9caeecf228857631a40739d9a.tar.xz |
Clock Applet: Update date/time and weather after resume from sleep mode
Before this commit, the Clock Applet was unaware of when the system
resumed from sleep mode (e.g. suspend or hibernate). This meant that,
if the user suspended the system and then woke it up some time later,
the clock might not show the real current time, but instead would continue
to show the time at which the system was suspended for up to a minute
after the system woke up. This could be confusing to the user if they
peered up at the clock immediately after, say, opening their laptop lid.
This commit connects to ConsoleKit or (if available) systemd-logind via
D-Bus, and listens for a signal that indicates when the system wakes up
from sleep mode. When the system does wake up, the Clock Applet updates
the date/time immediately, and also updates all the weather/temperature
readings if possible.
Note that if logind is missing, ConsoleKit2 is required for this feature
to work; the original ConsoleKit lacked the signal required to implement
this feature. This should not be a problem since it is unlikely that
anyone would even consider using the original ConsoleKit in this day and
age.
Diffstat (limited to 'help/mate-fish/es_MX/es_MX.po')
0 files changed, 0 insertions, 0 deletions