[gnome-shell] introspect: Rename variable
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] introspect: Rename variable
- Date: Thu, 20 Feb 2020 11:33:59 +0000 (UTC)
commit cf39b2db8785d2157aaca8397dd3ff16d2c2bf65
Author: Jonas Ådahl <jadahl gmail com>
Date: Tue Oct 1 12:06:13 2019 +0200
introspect: Rename variable
It was too generic, and would conflict with a StSettings variable.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/757
js/misc/introspect.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/js/misc/introspect.js b/js/misc/introspect.js
index 67965f7d40..754987eb5f 100644
--- a/js/misc/introspect.js
+++ b/js/misc/introspect.js
@@ -30,7 +30,9 @@ var IntrospectService = class {
this._syncRunningApplications();
});
- this._settings = new Gio.Settings({ schema_id: INTROSPECT_SCHEMA });
+ this._introspectSettings = new Gio.Settings({
+ schema_id: INTROSPECT_SCHEMA,
+ });
let tracker = Shell.WindowTracker.get_default();
tracker.connect('notify::focus-app',
@@ -56,7 +58,7 @@ var IntrospectService = class {
}
_isIntrospectEnabled() {
- return this._settings.get_boolean(INTROSPECT_KEY);
+ return this._introspectSettings.get_boolean(INTROSPECT_KEY);
}
_isSenderWhitelisted(sender) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]