[epiphany/wip/exalm/gesture: 18/18] Add swipe gesture to shortcuts dialog



commit 080fcf46fa8c7cccecf5eb81845a2b037c93ccb0
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Thu Feb 14 01:40:36 2019 +0500

    Add swipe gesture to shortcuts dialog

 src/resources/gtk/shortcuts-dialog.ui | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/src/resources/gtk/shortcuts-dialog.ui b/src/resources/gtk/shortcuts-dialog.ui
index 536b1e7c3..469142c1e 100644
--- a/src/resources/gtk/shortcuts-dialog.ui
+++ b/src/resources/gtk/shortcuts-dialog.ui
@@ -6,7 +6,7 @@
       <object class="GtkShortcutsSection">
         <property name="visible">True</property>
         <property name="section-name">shortcuts</property>
-        <property name="max-height">17</property>
+        <property name="max-height">10</property>
 
         <!-- General shortcuts -->
         <child>
@@ -119,6 +119,20 @@
                 <property name="accelerator">&lt;alt&gt;Right</property>
               </object>
             </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="shortcut-type">gesture-two-finger-swipe-right</property>
+                <property name="title" translatable="yes" context="shortcut window">Go back to the previous 
page</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="shortcut-type">gesture-two-finger-swipe-left</property>
+                <property name="title" translatable="yes" context="shortcut window">Go forward to the next 
page</property>
+              </object>
+            </child>
           </object>
         </child>
 


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