Enable L/M keyboard shortcut for label/moving messages. Fixes Bug 731737.

* help/C/shortcuts.page: Document new shortcuts.

* src/client/application/geary-controller.vala: Add shortcuts for copy
  and move actions.

* src/client/components/pill-toolbar.vala (PillBar::create_menu_button):
  Hook up the button's related action to invoke the button's popup menu,
  taking care not to cause an infinte loop.
  (PillBar::setup_button): Connect to the related_action's tooltip notify
  signal via a local variable rather than via the button, so it does not
  get lost when it changes for Gtk.MenuButton actions.
This commit is contained in:
Michael James Gratton 2016-05-29 23:25:49 +10:00
parent 54ba285ab8
commit 66928f73f6
3 changed files with 23 additions and 3 deletions

View file

@ -55,6 +55,14 @@
<td><p>Mark unread</p></td>
<td><p> <keyseq><key>Ctrl</key><key>U</key></keyseq> or <keyseq><key>Shift</key><key>U</key></keyseq> </p></td>
</tr>
<tr>
<td><p>Open the Label Conversation menu</p></td>
<td><p><key>L</key></p></td>
</tr>
<tr>
<td><p>Open the Move Conversation menu</p></td>
<td><p><key>M</key></p></td>
</tr>
<tr>
<td><p>Move focus to the next/previous pane</p></td>
<td><p> <keyseq><key>F6</key></keyseq> / <keyseq><key>Shift</key><key>F6</key></keyseq> </p></td>