[chrome-gnome-shell] connector: fix gsettings GNOME Shell schema lookup
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chrome-gnome-shell] connector: fix gsettings GNOME Shell schema lookup
- Date: Tue, 14 Mar 2017 17:49:03 +0000 (UTC)
commit d43f0f97f5fd56dafaecd6b95b00de8cf02d5432
Author: Alban Browaeys <alban browaeys gmail com>
Date: Mon Mar 13 22:13:44 2017 +0100
connector: fix gsettings GNOME Shell schema lookup
In lookup, recurse through the returned schema sources from
Gio.SettingsSchemaSource.get_default as suggested by
https://people.gnome.org/~gcampagna/docs/Gio-2.0/Gio.SettingsSchemaSource.get_default.html
Closes: https://github.com/nE0sIghT/chrome-gnome-shell-mirror/pull/48
connector/chrome-gnome-shell.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/connector/chrome-gnome-shell.py b/connector/chrome-gnome-shell.py
index ff9834b..83110f2 100755
--- a/connector/chrome-gnome-shell.py
+++ b/connector/chrome-gnome-shell.py
@@ -357,7 +357,7 @@ class ChromeGNOMEShell(Gio.Application):
source = Gio.SettingsSchemaSource.get_default()
shell_version = self.shell_proxy.get_cached_property("ShellVersion")
- if source.lookup(SHELL_SCHEMA, False) is not None and shell_version is not None:
+ if source.lookup(SHELL_SCHEMA, True) is not None and shell_version is not None:
settings = Gio.Settings.new(SHELL_SCHEMA)
if EXTENSION_DISABLE_VERSION_CHECK_KEY in settings.keys():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]