diff options
| author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2013-11-25 16:51:10 +0100 |
|---|---|---|
| committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2013-11-27 20:52:36 +0100 |
| commit | 29bc067b67e654f70d7f2c5214c33d40820d9ea9 (patch) | |
| tree | e66e351cc17fac371491be4b4bec441d4eabc1f1 /data | |
| parent | 6b4ac33356a75ff53a841f1037f1c9904c2fa82d (diff) | |
| download | graynard-29bc067b67e654f70d7f2c5214c33d40820d9ea9.tar.gz graynard-29bc067b67e654f70d7f2c5214c33d40820d9ea9.zip | |
Add favorite launchers in the panel
Diffstat (limited to 'data')
| -rw-r--r-- | data/Makefile.am | 25 | ||||
| -rw-r--r-- | data/org.raspberrypi.weston-gtk-shell.gschema.xml.in.in | 14 |
2 files changed, 39 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..f7378ef --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,25 @@ +gsettings_SCHEMAS = org.raspberrypi.weston-gtk-shell.gschema.xml + +@INTLTOOL_XML_NOMERGE_RULE@ + +%.gschema.xml.in: %.gschema.xml.in.in Makefile + $(AM_V_GEN) sed -e 's|@GETTEXT_PACKAGE[@]|$(GETTEXT_PACKAGE)|g' \ + $< > $@ || rm $@ + +@GSETTINGS_RULES@ + +# We need to compile schemas at make time +# to run from source tree +gschemas.compiled: $(gsettings_SCHEMAS:.xml=.valid) + $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --targetdir=. . + +all-local: gschemas.compiled + +EXTRA_DIST = \ + org.raspberrypi.weston-gtk-shell.gschema.xml.in.in + +CLEANFILES = \ + gschemas.compiled \ + org.raspberrypi.weston-gtk-shell.gschema.valid \ + $(gsettings_SCHEMAS) \ + $(gsettings_SCHEMAS).in diff --git a/data/org.raspberrypi.weston-gtk-shell.gschema.xml.in.in b/data/org.raspberrypi.weston-gtk-shell.gschema.xml.in.in new file mode 100644 index 0000000..34d1136 --- /dev/null +++ b/data/org.raspberrypi.weston-gtk-shell.gschema.xml.in.in @@ -0,0 +1,14 @@ +<schemalist> + <schema id="org.raspberrypi.weston-gtk-shell" + path="/org/raspberrypi/weston-gtk-shell/" + gettext-domain="@GETTEXT_PACKAGE@"> + <key name="favorites" type="as"> + <default>[ 'epiphany.desktop', 'libreoffice-writer.desktop', 'nautilus.desktop' ]</default> + <_summary>List of desktop file IDs for favorite applications</_summary> + <_description> + The applications corresponding to these identifiers + will be displayed in the panel. + </_description> + </key> + </schema> +</schemalist> |
