[gnome] Update gnome extensions
This commit is contained in:
@ -51,7 +51,6 @@ export class ConfigManager extends GObject.Object {
|
||||
if (defaultStylesheetFile.query_exists(null)) {
|
||||
return defaultStylesheetFile;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@ -75,7 +74,17 @@ export class ConfigManager extends GObject.Object {
|
||||
if (defaultWindowConfigFile.query_exists(null)) {
|
||||
return defaultWindowConfigFile;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
loadDefaultWindowConfigContents() {
|
||||
const defaultSettingFile = this.defaultWindowConfigFile;
|
||||
if (defaultSettingFile) {
|
||||
const contents = this.loadFileContents(defaultSettingFile);
|
||||
if (contents) {
|
||||
return JSON.parse(contents);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@ -119,7 +128,8 @@ export class ConfigManager extends GObject.Object {
|
||||
get windowProps() {
|
||||
let windowConfigFile = this.windowConfigFile;
|
||||
let windowProps = null;
|
||||
if (!windowConfigFile || !production) {
|
||||
// if (!windowConfigFile || !production) {
|
||||
if (!windowConfigFile) {
|
||||
windowConfigFile = this.defaultWindowConfigFile;
|
||||
}
|
||||
|
||||
@ -134,7 +144,8 @@ export class ConfigManager extends GObject.Object {
|
||||
|
||||
set windowProps(props) {
|
||||
let windowConfigFile = this.windowConfigFile;
|
||||
if (!windowConfigFile || !production) {
|
||||
// if (!windowConfigFile || !production) {
|
||||
if (!windowConfigFile) {
|
||||
windowConfigFile = this.defaultWindowConfigFile;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user