forked from AuroraMiddleware/gtk
6dfcea304f
Use the new predefined gestures, and GtkShortcutsShortcut.
173 lines
7.4 KiB
XML
173 lines
7.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.17 -->
|
|
|
|
<object class="GtkShortcutsWindow" id="shortcuts-gedit">
|
|
<property name="modal">1</property>
|
|
<child>
|
|
<object class="GtkShortcutsSection">
|
|
<property name="visible">1</property>
|
|
<property name="section-name">shortcuts</property>
|
|
<property name="max-height">12</property>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="visible">1</property>
|
|
<property name="title" translatable="yes">Touchpad gestures</property>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="shortcut-type">gesture-two-finger-swipe-right</property>
|
|
<property name="title" translatable="yes">Switch to the next document</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="shortcut-type">gesture-two-finger-swipe-left</property>
|
|
<property name="title" translatable="yes">Switch to the previous document</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="visible">1</property>
|
|
<property name="title" translatable="yes">Documents</property>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl>N</property>
|
|
<property name="title" translatable="yes">Create new document</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl>O</property>
|
|
<property name="title" translatable="yes">Open a document</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl>S</property>
|
|
<property name="title" translatable="yes">Save the document</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl>W</property>
|
|
<property name="title" translatable="yes">Close the document</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl><Alt>Page_Down</property>
|
|
<property name="title" translatable="yes">Switch to the next document</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl><Alt>Page_Up</property>
|
|
<property name="title" translatable="yes">Switch to the previous document</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="visible">1</property>
|
|
<property name="title" translatable="yes">Find and Replace</property>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl>F</property>
|
|
<property name="title" translatable="yes">Find</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl>G</property>
|
|
<property name="title" translatable="yes">Find the next match</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl><Shift>G</property>
|
|
<property name="title" translatable="yes">Find the previous match</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl>H</property>
|
|
<property name="title" translatable="yes">Find and Replace</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl><Shift>K</property>
|
|
<property name="title" translatable="yes">Clear highlight</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl>I</property>
|
|
<property name="title" translatable="yes">Go to line</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="visible">1</property>
|
|
<property name="title" translatable="yes">Tools</property>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><shift>F7</property>
|
|
<property name="title" translatable="yes">Check spelling</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="visible">1</property>
|
|
<property name="title" translatable="yes">Miscellaneous</property>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator">F11</property>
|
|
<property name="title" translatable="yes">Fullscreen on / off</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator"><ctrl>P</property>
|
|
<property name="title" translatable="yes">Print the document</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="visible">1</property>
|
|
<property name="accelerator">Insert</property>
|
|
<property name="title" translatable="yes">Toggle insert / overwrite</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
|
|
</interface>
|