mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
status: system: Add secure lock button
Add button to activate secure lock from the system status menu
This commit is contained in:
parent
3796670781
commit
d7339f8af1
1 changed files with 5 additions and 0 deletions
|
|
@ -192,6 +192,11 @@ class ShutdownItem extends QuickSettingsItem {
|
|||
|
||||
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
|
||||
|
||||
this._addSystemAction(_('Secure Lock'), 'can-secure-lock', () => {
|
||||
this._systemActions.activateSecureLock();
|
||||
Main.panel.closeQuickSettings();
|
||||
});
|
||||
|
||||
this._addSystemAction(_('Log Out…'), 'can-logout', () => {
|
||||
this._systemActions.activateLogout();
|
||||
Main.panel.closeQuickSettings();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue