[gnome-tweak-tool/gnome-3-26] widgets: Correctly handle overrides for Ubuntu session
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool/gnome-3-26] widgets: Correctly handle overrides for Ubuntu session
- Date: Wed, 20 Sep 2017 16:14:33 +0000 (UTC)
commit 9bbb8c22f3ec98d0dd7b59fbf70cbc0a9011dfe6
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Wed Sep 20 11:35:26 2017 -0400
widgets: Correctly handle overrides for Ubuntu session
The Ubuntu session in 17.10 uses org.gnome.mutter
not org.gnome.shell.overrides
https://bugzilla.gnome.org/show_bug.cgi?id=787844
gtweak/widgets.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtweak/widgets.py b/gtweak/widgets.py
index 23d31b3..34c98f5 100644
--- a/gtweak/widgets.py
+++ b/gtweak/widgets.py
@@ -136,6 +136,8 @@ def adjust_schema_for_overrides(originalSchema, key, options):
if (_shell.mode == 'classic'):
overridesSchema = "org.gnome.shell.extensions.classic-overrides"
overridesFile = None
+ elif (_shell.mode == 'ubuntu'):
+ return originalSchema
else:
overridesSchema = "org.gnome.shell.overrides"
overridesFile = "org.gnome.shell.gschema.xml"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]