Skip to content

Port Extensions to GNOME Shell 47

Metadata

TIP

There were no relevant changes to metadata.json in GNOME 47.

Extension

TIP

There were no relevant changes to extension.js in GNOME 47.

Preferences

getPreferencesWidget and fillPreferencesWindow in prefs.js are now awaited when the preference window is opened.

GNOME Shell

GtkNotificationDaemonAppSource

There is a new dbus parameter for the ui/notificationDaemon.js/GtkNotificationDaemonAppSource.constructor().

Also, there is a new emitActionInvoked() method in this class to emit the ActionInvoked signal to the dbus.

overviewControls

ui/overviewControls.js/ControlsManagerLayout class no longer uses _spacing property. Instead, the spacing parameter added to the _computeWorkspacesBoxForState() and _getAppDisplayBoxForState() methods.

PopupBaseMenuItem

PopupBaseMenuItem no longer uses selected style class name when the menu item is selected. Instead, it is using :selected pseudo class.

misc/util.js

ui/messageList.js/_fixMarkup() moved to misc/util.js/fixMarkup().

Accent Color

GNOME Shell 47 added the accent color to the Settings. The selected accent color is stored in the org.gnome.desktop.interface.accent-color.

To apply the accent color in stylesheet.css, you can use -st-accent-color and -st-accent-fg-color:

css
#panel {
    background-color: -st-accent-color;
}

GJS

Clutter.Color

Clutter.Color was merged into Cogl.Color(). So you need to switch to the later now.

MIT Licensed | GJS, A GNOME Project