[gnome-shell-extensions] convenience: use recursive lookup for schemas
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] convenience: use recursive lookup for schemas
- Date: Fri, 24 Feb 2012 10:24:45 +0000 (UTC)
commit 7b3650fb688bd7c674eee6cb4b89d6bf7b10509f
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Fri Feb 24 11:22:21 2012 +0100
convenience: use recursive lookup for schemas
If the schema is not found in the extension directory, fall back
to the default source, allowing for systemwide installation of
extensions.
lib/convenience.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/convenience.js b/lib/convenience.js
index 74c02fb..6988778 100644
--- a/lib/convenience.js
+++ b/lib/convenience.js
@@ -58,7 +58,7 @@ function getSettings(schema) {
else
schemaSource = GioSSS.get_default();
- let schemaObj = schemaSource.lookup(schema, false);
+ let schemaObj = schemaSource.lookup(schema, true);
if (!schemaObj)
throw new Error('Schema ' + schema + ' could not be found for extension '
+ extension.metadata.uuid + '. Please check your installation.');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]