ShutdownTimer icon indicating copy to clipboard operation
ShutdownTimer copied to clipboard

unlock-dialog: Do not allow triggering shutdown action

Open Deminder opened this issue 2 years ago • 0 comments

Since https://github.com/Deminder/ShutdownTimer/pull/9 the indicator and quick settings item are visible during unlock-dialog (without quick acess to openPreferences).

However, during unlock-dialog GNOME Shell hides shutdown options from unauthorized users and only shows Suspend. In order to not contradict this, the ShutdownTimer should also not allow initiating the destruction of the user session by shutdown.

Solution

Hide the ShutdownTimer Quick Settings item during unlock-dialog.

Deminder avatar Oct 08 '23 15:10 Deminder