[gnome-games] Add gsettings schema
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] Add gsettings schema
- Date: Fri, 17 Feb 2017 12:55:20 +0000 (UTC)
commit 2cdcc57f7212b4d593a43349aa3534b7aefb58e3
Author: theawless <theawless gmail com>
Date: Fri Feb 10 19:49:40 2017 +0530
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 | 21 +++++++++++++++++++++
po/POTFILES.in | 1 +
3 files changed, 25 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..fd1a728
--- /dev/null
+++ b/data/org.gnome.Games.gschema.xml
@@ -0,0 +1,21 @@
+<schemalist>
+
+ <!-- Corresponds to enum RetroGtk.VideoFilter -->
+ <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>
+ Various filters for the game video output.
+ </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]