[gnome-flashback] schemas: install override file



commit 9fcb38a29be278d94e035d703d200b1d5e9773ff
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon Jun 25 15:38:05 2018 +0300

    schemas: install override file
    
    GLib finally has per-desktop GSettings overrides:
    https://gitlab.gnome.org/GNOME/glib/commit/4993f2b7e50400
    
    Install override file to change button-layout default value for
    GNOME-Flashback.

 data/schemas/00_gnome-flashback.gschema.override | 2 ++
 data/schemas/Makefile.am                         | 4 ++++
 2 files changed, 6 insertions(+)
---
diff --git a/data/schemas/00_gnome-flashback.gschema.override 
b/data/schemas/00_gnome-flashback.gschema.override
new file mode 100644
index 0000000..d298ee7
--- /dev/null
+++ b/data/schemas/00_gnome-flashback.gschema.override
@@ -0,0 +1,2 @@
+[org.gnome.desktop.wm.preferences:GNOME-Flashback]
+button-layout='appmenu:minimize,maximize,close'
diff --git a/data/schemas/Makefile.am b/data/schemas/Makefile.am
index a286b90..4f8d7b7 100644
--- a/data/schemas/Makefile.am
+++ b/data/schemas/Makefile.am
@@ -1,5 +1,8 @@
 NULL =
 
+overridedir = $(datadir)/glib-2.0/schemas
+override_DATA = 00_gnome-flashback.gschema.override
+
 gsettings_SCHEMAS = \
        org.gnome.gnome-flashback.gschema.xml \
        org.gnome.gnome-flashback.desktop-background.gschema.xml \
@@ -10,6 +13,7 @@ gsettings_SCHEMAS = \
 @GSETTINGS_RULES@
 
 EXTRA_DIST = \
+       $(override_DATA) \
        $(gsettings_SCHEMAS) \
        $(NULL)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]