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
This commit is contained in:
parent
d517c13d7a
commit
b8f9a108f9
@ -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
|
||||
|
13
data/org.gnome.shell-foo.gschema.xml.in.in
Normal file
13
data/org.gnome.shell-foo.gschema.xml.in.in
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user