[gnome] Fix version for gjsosk and gsconnect, add impatience

This commit is contained in:
2024-11-01 09:35:38 -04:00
parent 66e76c2764
commit 1bd891f30a
78 changed files with 804 additions and 1226 deletions

View File

@ -2,16 +2,13 @@
//
// SPDX-License-Identifier: GPL-2.0-or-later
'use strict';
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const GObject = imports.gi.GObject;
import Gio from 'gi://Gio';
import GLib from 'gi://GLib';
import GObject from 'gi://GObject';
const SERVICE_NAME = 'org.gnome.Shell.Extensions.GSConnect';
const SERVICE_PATH = '/org/gnome/Shell/Extensions/GSConnect';
const DEVICE_NAME = 'org.gnome.Shell.Extensions.GSConnect.Device';
const DEVICE_PATH = '/org/gnome/Shell/Extensions/GSConnect/Device';
const _PROPERTIES = {
@ -51,7 +48,7 @@ function _proxyInit(proxy, cancellable = null) {
/**
* A simple proxy wrapper for devices exported over DBus.
*/
var Device = GObject.registerClass({
export const Device = GObject.registerClass({
GTypeName: 'GSConnectRemoteDevice',
Implements: [Gio.DBusInterface],
Properties: {
@ -222,7 +219,7 @@ var Device = GObject.registerClass({
/**
* A simple proxy wrapper for the GSConnect service.
*/
var Service = GObject.registerClass({
export const Service = GObject.registerClass({
GTypeName: 'GSConnectRemoteService',
Implements: [Gio.DBusInterface],
Properties: {