-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use GTK+'s new shortcut window to document our shortcuts. See: https://wiki.gnome.org/Initiatives/GnomeGoals/ShortcutWindows https://bugzilla.gnome.org/show_bug.cgi?id=757828
- Loading branch information
Felipe Borges
committed
Dec 2, 2015
1 parent
91ac78b
commit 6e454ee
Showing
7 changed files
with
235 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,225 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<interface> | ||
<object class="GtkShortcutsWindow" id="help_overlay"> | ||
<property name="modal">True</property> | ||
<child> | ||
<object class="GtkShortcutsSection"> | ||
<property name="visible">True</property> | ||
<property name="section-name">shortcuts</property> | ||
<property name="max-height">12</property> | ||
<child> | ||
<object class="GtkShortcutsGroup"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Opening, closing, saving and printing</property> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Open a document</property> | ||
<property name="accelerator"><Primary>O</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Open a copy of the current document</property> | ||
<property name="accelerator"><Primary>N</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Save a copy of the current document</property> | ||
<property name="accelerator"><Primary>S</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Print the current document</property> | ||
<property name="accelerator"><Primary>P</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Close the current document window</property> | ||
<property name="accelerator"><Primary>W</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Reload the document</property> | ||
<property name="accelerator"><Primary>R</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsGroup"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Selecting and copying text</property> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Copy highlighted text</property> | ||
<property name="accelerator"><Primary>C</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Select all the text in a document</property> | ||
<property name="accelerator"><Primary>A</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsGroup"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Moving around the document</property> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Move up/down a page</property> | ||
<property name="accelerator">Left Up Down Right</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Move up/down a page several lines at a time</property> | ||
<property name="accelerator">Page_Up Page_Down</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Go to page number</property> | ||
<property name="accelerator"><Primary>L</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Go to the beginning/end of a page</property> | ||
<property name="accelerator">Home End</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Go to the beginning of the document</property> | ||
<property name="accelerator"><Primary>Home</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Go to the end of the document</property> | ||
<property name="accelerator"><Primary>End</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsGroup"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Finding text</property> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Show the search bar</property> | ||
<property name="accelerator"><Primary>F</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Go to the next search result</property> | ||
<property name="accelerator"><Primary>G</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Go to the previous search result</property> | ||
<property name="accelerator"><Primary><shift>G</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsGroup"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Rotating and zooming</property> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Rotate the page 90 degrees counter-clockwise</property> | ||
<property name="accelerator"><Primary>Left</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Rotate the page 90 degrees clockwise</property> | ||
<property name="accelerator"><Primary>Right</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Zoom in</property> | ||
<property name="accelerator"><Primary>plus</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Zoom out</property> | ||
<property name="accelerator"><Primary>minus</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsGroup"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Touchpad gestures</property> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Zoom in</property> | ||
<property name="shortcut-type">gesture-pinch</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Zoom in</property> | ||
<property name="shortcut-type">gesture-stretch</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Go to next page</property> | ||
<property name="shortcut-type">gesture-two-finger-swipe-right</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkShortcutsShortcut"> | ||
<property name="visible">True</property> | ||
<property name="title" translatable="yes">Go to previous page</property> | ||
<property name="shortcut-type">gesture-two-finger-swipe-left</property> | ||
</object> | ||
</child> | ||
|
||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
</interface> |