[gnome-shell/wip/classic: 1/4] data: Add a new schema for foo mode
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/classic: 1/4] data: Add a new schema for foo mode
- Date: Wed, 28 Nov 2012 18:23:56 +0000 (UTC)
commit d490d3a23a8d5b5e3f128c4836ba00ecb3e29840
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Nov 28 19:15:11 2012 +0100
data: Add a new schema for foo mode
The foo mode will have a different default value for button-layout as
compared to the standard GNOME 3 mode. To avoid one mode from
overwriting the setting from another, lets use a different schema
for this mode.
https://bugzilla.gnome.org/show_bug.cgi?id=689234
data/Makefile.am | 11 ++++++++---
data/org.gnome.shell-foo.gschema.xml.in.in | 13 +++++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 6858a4a..1f866dc 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -54,7 +54,9 @@ keys_in_files = \
$(NULL)
keys_DATA = $(keys_in_files:.xml.in=.xml)
-gsettings_SCHEMAS = org.gnome.shell.gschema.xml
+gsettings_SCHEMAS = \
+ org.gnome.shell.gschema.xml \
+ org.gnome.shell-foo.gschema.xml
@INTLTOOL_XML_NOMERGE_RULE@
@@ -81,7 +83,8 @@ EXTRA_DIST = \
$(menu_DATA) \
$(convert_DATA) \
$(keys_in_files) \
- org.gnome.shell.gschema.xml.in.in
+ org.gnome.shell.gschema.xml.in.in \
+ org.gnome.shell-foo.gschema.xml.in.in
CLEANFILES = \
gnome-shell.desktop.in \
@@ -91,4 +94,6 @@ CLEANFILES = \
$(gsettings_SCHEMAS) \
gschemas.compiled \
org.gnome.shell.gschema.valid \
- org.gnome.shell.gschema.xml.in
+ org.gnome.shell.gschema.xml.in \
+ org.gnome.shell-foo.gschema.valid \
+ org.gnome.shell-foo.gschema.xml.in
diff --git a/data/org.gnome.shell-foo.gschema.xml.in.in b/data/org.gnome.shell-foo.gschema.xml.in.in
new file mode 100644
index 0000000..82e64e5
--- /dev/null
+++ b/data/org.gnome.shell-foo.gschema.xml.in.in
@@ -0,0 +1,13 @@
+<schemalist>
+ <schema id="org.gnome.shell-foo.overrides" path="/org/gnome/shell-foo/overrides/"
+ gettext-domain="@GETTEXT_PACKAGE@">
+ <key name="button-layout" type="s">
+ <default>":minimize,close"</default>
+ <_summary>Arrangement of buttons on the titlebar</_summary>
+ <_description>
+ This key overrides the key in org.gnome.desktop.wm.preferences when
+ running GNOME Shell in Foo mode.
+ </_description>
+ </key>
+ </schema>
+</schemalist>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]