extensions-app: Style development window
Libadwaita includes a standard style class to distinguish nightly/development versions from regular instances, but we never to around applying it. Do that now. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2841>
This commit is contained in:

committed by
Marge Bot

parent
c67614b522
commit
27ffc37668
@ -10,6 +10,7 @@ const Package = imports.package;
|
||||
|
||||
Package.initFormat();
|
||||
|
||||
const Config = imports.misc.config;
|
||||
const ExtensionUtils = imports.misc.extensionUtils;
|
||||
|
||||
const { ExtensionState, ExtensionType } = ExtensionUtils;
|
||||
@ -94,6 +95,9 @@ var ExtensionsWindow = GObject.registerClass({
|
||||
_init(params) {
|
||||
super._init(params);
|
||||
|
||||
if (Config.PROFILE === 'development')
|
||||
this.add_css_class('devel');
|
||||
|
||||
this._updatesCheckId = 0;
|
||||
|
||||
this._exporter = new Shew.WindowExporter({ window: this });
|
||||
|
Reference in New Issue
Block a user