[mutter] Add hidden -backward bindings to 50-mutter-navigation.xml



commit 679edac9c368cf048984f072fc2c65d5acb081d0
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Fri Jun 27 17:16:13 2014 +0200

    Add hidden -backward bindings to 50-mutter-navigation.xml
    
    This makes the gnome-control-center keyboard panel aware of these
    bindings so that it can warn about conflicting bindings if the
    user tries to use one of these bindings for a different action.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=732385

 data/50-mutter-navigation.xml.in |   42 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/data/50-mutter-navigation.xml.in b/data/50-mutter-navigation.xml.in
index 03ea8b9..6574229 100644
--- a/data/50-mutter-navigation.xml.in
+++ b/data/50-mutter-navigation.xml.in
@@ -45,26 +45,68 @@
                      _description="Move window one monitor down" />
 
        <KeyListEntry name="switch-applications"
+                     reverse-entry="switch-applications-backward"
                      _description="Switch applications"/>
 
+       <KeyListEntry name="switch-applications-backward"
+                     reverse-entry="switch-applications"
+                     hidden="true"
+                     _description="Switch to previous application"/>
+
        <KeyListEntry name="switch-windows"
+                     reverse-entry="switch-windows-backward"
                      _description="Switch windows"/>
 
+       <KeyListEntry name="switch-windows-backward"
+                     reverse-entry="switch-windows"
+                     hidden="true"
+                     _description="Switch to previous window"/>
+
        <KeyListEntry name="switch-group"
+                     reverse-entry="switch-group-backward"
                      _description="Switch windows of an application"/>
 
+       <KeyListEntry name="switch-group-backward"
+                     reverse-entry="switch-group"
+                     hidden="true"
+                     _description="Switch to previous window of an application"/>
+
        <KeyListEntry name="switch-panels"
+                     reverse-entry="switch-panels-backward"
                      _description="Switch system controls"/>
 
+       <KeyListEntry name="switch-panels-backward"
+                     reverse-entry="switch-panels"
+                     hidden="true"
+                     _description="Switch to previous system control"/>
+
        <KeyListEntry name="cycle-windows"
+                     reverse-entry="cycle-windows-backward"
                      _description="Switch windows directly"/>
 
+       <KeyListEntry name="cycle-windows-backward"
+                     reverse-entry="cycle-windows"
+                     hidden="true"
+                     _description="Switch directly to previous window"/>
+
        <KeyListEntry name="cycle-group"
+                     reverse-entry="cycle-group-backward"
                      _description="Switch windows of an app directly"/>
 
+       <KeyListEntry name="cycle-group-backward"
+                     reverse-entry="cycle-group"
+                     hidden="true"
+                     _description="Switch directly to previous window of an app"/>
+
        <KeyListEntry name="cycle-panels"
+                     reverse-entry="cycle-panels-backward"
                      _description="Switch system controls directly"/>
 
+       <KeyListEntry name="cycle-panels-backward"
+                     reverse-entry="cycle-panels"
+                     hidden="true"
+                     _description="Switch directly to previous system control"/>
+
        <KeyListEntry name="show-desktop"
                      _description="Hide all normal windows"/>
 


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