[mutter/gnome-3-26] Add restore-shortcuts to key bindings list



commit cc49f6ef784f3eeb20dc8ab907df1e5c5a6901d3
Author: Olivier Fourdan <ofourdan redhat com>
Date:   Fri Nov 10 09:40:51 2017 +0100

    Add restore-shortcuts to key bindings list
    
    gnome-control-center uses this to list the keybindings, without this
    users cannot change the default key combo to restore shortcuts.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=789386

 data/50-mutter-wayland.xml |   10 ++++++++++
 data/Makefile.am           |    5 +++++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/data/50-mutter-wayland.xml b/data/50-mutter-wayland.xml
new file mode 100644
index 0000000..6724d89
--- /dev/null
+++ b/data/50-mutter-wayland.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<KeyListEntries schema="org.gnome.mutter.wayland.keybindings"
+                group="system"
+                name="System"
+                wm_name="Mutter"
+                package="mutter">
+
+       <KeyListEntry name="restore-shortcuts" description="Restore the keyboard shortcuts"/>
+
+</KeyListEntries>
diff --git a/data/Makefile.am b/data/Makefile.am
index 86260e9..5129b8e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -12,6 +12,11 @@ xml_DATA = \
         50-mutter-system.xml \
         50-mutter-windows.xml
 
+if HAVE_WAYLAND
+xml_DATA += \
+        50-mutter-wayland.xml
+endif
+
 gschema_in_files = \
        org.gnome.mutter.gschema.xml.in \
        org.gnome.mutter.wayland.gschema.xml.in


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