[gnome] Update extensions

This commit is contained in:
2026-06-10 11:03:09 -04:00
parent 20fc1e4e75
commit 6c973853c6
394 changed files with 12513 additions and 1340 deletions

View File

@ -6,6 +6,10 @@ import * as Main from 'resource:///org/gnome/shell/ui/main.js';
import Meta from 'gi://Meta';
import Shell from 'gi://Shell';
/**
* @callback KeybindingCallback
* @returns {void}
*/
/**
* Keybindings.Manager is a simple convenience class for managing keyboard
@ -48,8 +52,8 @@ export class Manager {
* Add a keybinding with callback
*
* @param {string} accelerator - An accelerator in the form '<Control>q'
* @param {Function} callback - A callback for the accelerator
* @returns {*} A non-zero action id on success, or 0 on failure
* @param {KeybindingCallback} callback - A callback for the accelerator
* @returns {number} A non-zero action id on success, or 0 on failure
*/
add(accelerator, callback) {
try {
@ -65,6 +69,7 @@ export class Manager {
return action;
} catch (e) {
logError(e);
return 0;
}
}