diff --git a/js/dbusServices/extensions/main.js b/js/dbusServices/extensions/main.js index 0b6521e9e..97a28aa98 100644 --- a/js/dbusServices/extensions/main.js +++ b/js/dbusServices/extensions/main.js @@ -3,7 +3,7 @@ imports.gi.versions.Gdk = '4.0'; imports.gi.versions.Gtk = '4.0'; -const { Gtk } = imports.gi; +const { GObject, Gtk } = imports.gi; const pkg = imports.package; const { DBusService } = imports.dbusService; @@ -13,6 +13,8 @@ function main() { Gtk.init(); pkg.initFormat(); + GObject.gtypeNameBasedOnJSPath = true; + const service = new DBusService( 'org.gnome.Shell.Extensions', new ExtensionsService());