Browse Source

Add a basic GSettings schema

master
Gergely Polonkai 7 years ago
parent
commit
a9811f21e9
  1. 7
      .gitignore
  2. 2
      Makefile.am
  3. 2
      configure.ac
  4. 13
      data/Makefile.am
  5. 9
      data/eu.polonkai.gergely.gnome-gitlab.gschema.xml.in.in
  6. 1
      po/POTFILES.in

7
.gitignore

@ -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

2
Makefile.am

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

2
configure.ac

@ -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

@ -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)

9
data/eu.polonkai.gergely.gnome-gitlab.gschema.xml.in.in

@ -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>

1
po/POTFILES.in

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

Loading…
Cancel
Save