[gnome] Update extensions for version 48
This commit is contained in:
@ -205,7 +205,7 @@ export const ShortcutChooserDialog = GObject.registerClass({
|
||||
* @param {string} accelerator - An accelerator
|
||||
* @param {number} [modeFlags] - Mode Flags
|
||||
* @param {number} [grabFlags] - Grab Flags
|
||||
* @param {boolean} %true if available, %false on error or unavailable
|
||||
* @returns {boolean} %true if available, %false on error or unavailable
|
||||
*/
|
||||
export async function checkAccelerator(accelerator, modeFlags = 0, grabFlags = 0) {
|
||||
try {
|
||||
@ -272,7 +272,7 @@ export async function checkAccelerator(accelerator, modeFlags = 0, grabFlags = 0
|
||||
*
|
||||
* @param {string} summary - A description of the keybinding's function
|
||||
* @param {string} accelerator - An accelerator as taken by Gtk.ShortcutLabel
|
||||
* @return {string} An accelerator or %null if it should be unset.
|
||||
* @returns {string} An accelerator or %null if it should be unset.
|
||||
*/
|
||||
export async function getAccelerator(summary, accelerator = null) {
|
||||
try {
|
||||
@ -311,4 +311,3 @@ export async function getAccelerator(summary, accelerator = null) {
|
||||
return accelerator;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user