[meld] meld/ui/shortcuts.ui: Add file comparison shortcuts



commit 4a81a50aa1d71ad0c3c442d752fc20b07a6efdb8
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Thu Feb 11 06:38:32 2016 +1000

    meld/ui/shortcuts.ui: Add file comparison shortcuts

 data/ui/shortcuts.ui |  135 ++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 119 insertions(+), 16 deletions(-)
---
diff --git a/data/ui/shortcuts.ui b/data/ui/shortcuts.ui
index 8b1e487..5a8f78f 100644
--- a/data/ui/shortcuts.ui
+++ b/data/ui/shortcuts.ui
@@ -8,7 +8,6 @@
       <object class="GtkShortcutsSection">
         <property name="visible">True</property>
         <property name="section-name">main</property>
-        <property name="max-height">10</property>
         <child>
           <object class="GtkShortcutsGroup">
             <property name="visible">True</property>
@@ -107,20 +106,6 @@
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
-                <property name="accelerator">&lt;primary&gt;S</property>
-                <property name="title" translatable="yes">Save current file</property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
-                <property name="accelerator">&lt;shift&gt;&lt;primary&gt;S</property>
-                <property name="title" translatable="yes">Save current file to new path</property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
                 <property name="accelerator">&lt;primary&gt;Z</property>
                 <property name="title" translatable="yes">Undo</property>
               </object>
@@ -132,7 +117,6 @@
                 <property name="title" translatable="yes">Redo</property>
               </object>
             </child>
-
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
@@ -184,6 +168,125 @@
             </child>
           </object>
         </child>
+        <child>
+          <object class="GtkShortcutsGroup">
+            <property name="visible">True</property>
+            <property name="view">file</property>
+            <property name="title" translatable="yes">File comparison</property>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;primary&gt;S</property>
+                <property name="title" translatable="yes">Save current file</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;shift&gt;&lt;primary&gt;S</property>
+                <property name="title" translatable="yes">Save current file to new path</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;shift&gt;&lt;primary&gt;L</property>
+                <property name="title" translatable="yes">Save all files in comparison</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;primary&gt;I</property>
+                <property name="title" translatable="yes">Previous conflict</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;primary&gt;K</property>
+                <property name="title" translatable="yes">Next conflict</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;alt&gt;Left</property>
+                <property name="title" translatable="yes">Push change to left</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;alt&gt;Right</property>
+                <property name="title" translatable="yes">Push change to right</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;shift&gt;&lt;alt&gt;Left</property>
+                <property name="title" translatable="yes">Pull change from left</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;shift&gt;&lt;alt&gt;Right</property>
+                <property name="title" translatable="yes">Pull change from right</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;alt&gt;bracketleft</property>
+                <property name="title" translatable="yes">Copy change above left</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;alt&gt;semicolon</property>
+                <property name="title" translatable="yes">Copy change below left</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;alt&gt;bracketright</property>
+                <property name="title" translatable="yes">Copy change above right</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;alt&gt;quoteright</property>
+                <property name="title" translatable="yes">Copy change below right</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;alt&gt;Delete</property>
+                <property name="title" translatable="yes">Delete change</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;alt&gt;Page_Up</property>
+                <property name="title" translatable="yes">Previous comparison pane</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="accelerator">&lt;alt&gt;Page_Down</property>
+                <property name="title" translatable="yes">Next comparison pane</property>
+              </object>
+            </child>
+          </object>
+        </child>
       </object>
     </child>
   </object>


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