Add a basic GSettings schema

This commit is contained in:
Gergely Polonkai 2014-10-13 17:09:03 +02:00
parent 5469e9a5a0
commit a9811f21e9
6 changed files with 32 additions and 2 deletions

7
.gitignore vendored
View File

@ -28,6 +28,10 @@ Makefile.in
/ltmain.sh
/stamp-h1
/data/*.valid
/data/*.gschema.xml.in
/data/*.gschema.xml
/po/Makefile.in.in
/po/Makevars.template
/po/POTFILES
@ -35,4 +39,5 @@ Makefile.in
/po/*.sed
/po/*.header
/po/*.sin
/po/stamp-it
/po/stamp-it
/po/.intltool-merge-cache

View File

@ -1,3 +1,3 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = src po
SUBDIRS = src data po

View File

@ -35,6 +35,8 @@ YELP_HELP_INIT
AC_CONFIG_FILES([
Makefile
src/Makefile
data/Makefile
data/eu.polonkai.gergely.gnome-gitlab.gschema.xml.in
po/Makefile.in
])

13
data/Makefile.am Normal file
View File

@ -0,0 +1,13 @@
gsettings_SCHEMAS = eu.polonkai.gergely.gnome-gitlab.gschema.xml
@INTLTOOL_XML_RULE@
@GSETTINGS_RULES@
EXTRA_DIST = \
eu.polonkai.gergely.gnome-gitlab.gschema.xml.in.in
DISTCLEANFILES = \
$(gsettings_SCHEMAS)
MAINTAINERCLEANFILES = \
$(gsettings_SCHEMAS:.xml=.valid)

View File

@ -0,0 +1,9 @@
<schemalist gettext-domain="@GETTEXT_PACKAGE@">
<schema id="eu.polonkai.gergely.gnome-gitlab" path="/eu/polonkai/gergely/gnome-gitlab/">
<key name="repositories" type="aa{s{ss}}">
<default>[]</default>
<_summary>Configured GitLab instances</_summary>
<_description>List of GitLab instances to show.</_description>
</key>
</schema>
</schemalist>

View File

@ -1,3 +1,4 @@
data/eu.polonkai.gergely.gnome-gitlab.gschema.xml.in.in
src/application.vala
src/window.vala
src/main.vala