[meld] meldwindow, data/ui/shortcuts: Add a basic shortcuts window
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] meldwindow, data/ui/shortcuts: Add a basic shortcuts window
- Date: Sat, 13 Feb 2016 20:22:24 +0000 (UTC)
commit 41818a07a4b8ab702986e8f2ad429588b9cca494
Author: Kai Willadsen <kai willadsen gmail com>
Date: Tue Feb 9 07:29:09 2016 +1000
meldwindow, data/ui/shortcuts: Add a basic shortcuts window
data/ui/shortcuts.ui | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 122 insertions(+), 0 deletions(-)
---
diff --git a/data/ui/shortcuts.ui b/data/ui/shortcuts.ui
new file mode 100644
index 0000000..485ab37
--- /dev/null
+++ b/data/ui/shortcuts.ui
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.17 -->
+
+ <object class="GtkShortcutsWindow" id="shortcuts-meld">
+ <property name="modal">True</property>
+ <child>
+ <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>
+ <property name="title" translatable="yes">General</property>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator"><primary>N</property>
+ <property name="title" translatable="yes">New comparison</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator"><primary>W</property>
+ <property name="title" translatable="yes">Close a comparison</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator"><primary>Q</property>
+ <property name="title" translatable="yes">Quit Meld</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator">Escape</property>
+ <property name="title" translatable="yes">Stop the current action</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator"><primary>R</property>
+ <property name="title" translatable="yes">Refresh comparison</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsGroup">
+ <property name="visible">True</property>
+ <property name="view">tab</property>
+ <property name="title" translatable="yes">Tabs</property>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator"><primary><alt>Page_Up</property>
+ <property name="title" translatable="yes">Go to previous tab</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator"><primary><alt>Page_Down</property>
+ <property name="title" translatable="yes">Go to next tab</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator"><alt>0...9</property>
+ <property name="title" translatable="yes">Switch to tab</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator"><shift><primary><alt>Page_Up</property>
+ <property name="title" translatable="yes">Move tab left</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator"><shift><primary><alt>Page_Down</property>
+ <property name="title" translatable="yes">Move tab right</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsGroup">
+ <property name="visible">True</property>
+ <property name="view">navigation</property>
+ <property name="title" translatable="yes">Navigation</property>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator"><alt>Up</property>
+ <property name="direction">ltr</property>
+ <property name="title" translatable="yes">Go to previous change</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="accelerator"><alt>Down</property>
+ <property name="title" translatable="yes">Go to next change</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+
+</interface>
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]