aboutsummaryrefslogtreecommitdiff
path: root/src/settings-daemon.vala
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2023-08-31 12:02:58 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-08-31 22:49:49 +0200
commit91d8d20e430551a6c53b53f403596fea1860c0f6 (patch)
treeff22a9bc189b00c9bbb6b62f7f7f0db2a330a15a /src/settings-daemon.vala
parent9b8185c782e28baff506dca6c04d494005e56afd (diff)
downloadarctica-greeter-91d8d20e430551a6c53b53f403596fea1860c0f6.tar.gz
arctica-greeter-91d8d20e430551a6c53b53f403596fea1860c0f6.tar.bz2
arctica-greeter-91d8d20e430551a6c53b53f403596fea1860c0f6.zip
src/shutdown-dialog.vala: implement timer function triggering focused button.
Once the shutdown dialog is created/realized/shown, a new message will show up at the bottom of the dialog signifying that the default action will be triggered automatically in a configurable amount of seconds. This message will be updated once per second, counting down. Once the countdown reaches zero, the currently focused button (if any) is automatically clicked. The message will keep showing for another 10 seconds, just in case the user removed the focus and no button is actually focused. Multiple actions will cancel the timer: - Pressing escape. - Selecting a different button via (Shift +) Tab or the left or right arrow keys. - Clicking within the dialog (but not on any button). - Closing the dialog. Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/39
Diffstat (limited to 'src/settings-daemon.vala')
0 files changed, 0 insertions, 0 deletions