[gnome-games] data: Add gsettings schema
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] data: Add gsettings schema
- Date: Wed, 22 Feb 2017 18:49:43 +0000 (UTC)
commit 181fa41c03a3e4c756ffdb698c1dcb1e3c45e725
Author: theawless <theawless gmail com>
Date: Sat Feb 18 15:25:31 2017 +0530
data: Add gsettings schema
For now it defines various filters for video output.
https://bugzilla.gnome.org/show_bug.cgi?id=777987
data/Makefile.am | 3 +++
data/org.gnome.Games.gschema.xml | 13 +++++++++++++
po/POTFILES.in | 1 +
3 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 5bfcc20..f81f3eb 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,6 +10,9 @@ desktop_in_files = org.gnome.Games.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
+gsettings_SCHEMAS = org.gnome.Games.gschema.xml
+@GSETTINGS_RULES@
+
EXTRA_DIST = \
$(appdata_in_files) \
$(desktop_in_files) \
diff --git a/data/org.gnome.Games.gschema.xml b/data/org.gnome.Games.gschema.xml
new file mode 100644
index 0000000..e665628
--- /dev/null
+++ b/data/org.gnome.Games.gschema.xml
@@ -0,0 +1,13 @@
+<schemalist>
+ <enum id="org.gnome.Games.video-filters">
+ <value nick="smooth" value="0"/>
+ <value nick="sharp" value="1"/>
+ </enum>
+ <schema path="/org/gnome/Games/" id="org.gnome.Games">
+ <key name='video-filter' enum='org.gnome.Games.video-filters'>
+ <default>'smooth'</default>
+ <summary>Video filter</summary>
+ <description>Filter for the game video output. Allowed values are: “smooth” (blurry pixels), “sharp”
(blocky pixels).</description>
+ </key>
+ </schema>
+</schemalist>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index a3ce01f..eadd6c6 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
# Please keep this file sorted alphabetically.
data/org.gnome.Games.appdata.xml.in
data/org.gnome.Games.desktop.in
+data/org.gnome.Games.gschema.xml
[type: gettext/glade]data/gtk/menus.ui
[type: gettext/glade]data/ui/collection-box.ui
[type: gettext/glade]data/ui/collection-header-bar.ui
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]