add gsettings setup based on lp:~ricotz/plank/gsettings

This commit is contained in:
Tom Beckmann 2014-03-08 21:13:48 +01:00
parent 78af9aadde
commit 53adde02b8
5 changed files with 26 additions and 4 deletions

View File

@ -27,6 +27,10 @@ Makefile.in
*.pc
*.stamp
data/gala.desktop
data/gschemas.compiled
data/org.pantheon.desktop.gala.gschema.valid
data/org.pantheon.desktop.gala.gschema.xml
data/org.pantheon.desktop.gala.gschema.xml.in
lib/gala.vapi
po/*.gmo
po/.intltool-merge-cache

View File

@ -52,6 +52,8 @@ AC_DISABLE_STATIC
LT_INIT
PKG_PROG_PKG_CONFIG([0.21])
GLIB_GSETTINGS
AC_SUBST([CFLAGS])
AC_SUBST([CPPFLAGS])
AC_SUBST([LDFLAGS])
@ -214,6 +216,4 @@ ${PACKAGE} ${VERSION}
Has libmutter-3.8...........: ${have_mutter38}
Has libmutter-3.10..........: ${have_mutter310}
Has libmutter-3.12..........: ${have_mutter312}
Documentation...............: ${have_valadoc}
"

View File

@ -4,15 +4,33 @@ styles_DATA = gala.css texture.png
applicationsdir = $(datadir)/applications
applications_DATA = gala.desktop
gsettings_SCHEMAS = org.pantheon.desktop.gala.gschema.xml
%.gschema.xml.in: %.gschema.xml.in.in Makefile
$(AM_V_GEN) sed -e 's|@GETTEXT_PACKAGE[@]|$(GETTEXT_PACKAGE)|g' $< > $@ || rm $@
@INTLTOOL_XML_RULE@
@GSETTINGS_RULES@
gschemas.compiled: Makefile $(gsettings_SCHEMAS:.xml=.valid)
$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --targetdir=$(builddir) $(builddir)
all-local: gschemas.compiled
EXTRA_DIST = \
gala.css \
gala.desktop \
texture.png \
org.pantheon.desktop.gala.gschema.xml \
org.pantheon.desktop.gala.gschema.xml.in.in \
$(NULL)
CLEANFILES = \
$(applications_DATA) \
$(styles_DATA) \
$(gsettings_SCHEMAS) \
gschemas.compiled \
data/org.pantheon.desktop.gala.gschema.xml \
data/org.pantheon.desktop.gala.gschema.xml.in \
$(NULL)

View File

@ -83,7 +83,7 @@
</key>
</schema>
<schema path="/org/pantheon/desktop/gala/keybindings/" id="org.pantheon.desktop.gala.keybindings" gettext-domain="gala">
<schema path="/org/pantheon/desktop/gala/keybindings/" id="org.pantheon.desktop.gala.keybindings" gettext-domain="@GETTEXT_PACKAGE@">
<key type="as" name="switch-to-workspace-first">
<default><![CDATA[['<Super>Home']]]></default>
<summary>Shortcut to move to first workspace</summary>

0
po/POTFILES.in Normal file
View File