diff options
author | Mihai Moldovan <ionic@ionic.de> | 2023-08-31 12:02:58 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-08-31 22:49:49 +0200 |
commit | 91d8d20e430551a6c53b53f403596fea1860c0f6 (patch) | |
tree | ff22a9bc189b00c9bbb6b62f7f7f0db2a330a15a /.patches-to-be-ported-from-slick-greeter | |
parent | 9b8185c782e28baff506dca6c04d494005e56afd (diff) | |
download | arctica-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 '.patches-to-be-ported-from-slick-greeter')
0 files changed, 0 insertions, 0 deletions