From 54ba285ab8df9dcedb9b84419a295068d8e57b11 Mon Sep 17 00:00:00 2001 From: Michael James Gratton Date: Sun, 29 May 2016 22:24:19 +1000 Subject: [PATCH] Clean up shortcuts and shortcut docs. Closes Bug 766987. * src/client/application/geary-controller.vala: Remove prefs and accounts shortcuts. * ui/app_menu.interface: Remove prefs and accounts shortcuts * help/C/shortcuts.page: Capitalise J/K, remove prefs and accounts shortcuts. --- help/C/shortcuts.page | 12 ++---------- src/client/application/geary-controller.vala | 4 ++-- ui/app_menu.interface | 2 -- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/help/C/shortcuts.page b/help/C/shortcuts.page index 3530968e..ea691638 100644 --- a/help/C/shortcuts.page +++ b/help/C/shortcuts.page @@ -65,11 +65,11 @@

Jump to next (older) conversation

-

j

+

J

Jump to previous (newer) conversation

-

k

+

K

Toggle spam

@@ -91,14 +91,6 @@

Reset zoom

Ctrl0 or 0

- -

Preferences

-

CtrlE

- - -

Accounts

-

CtrlM

-

Close composer window

CtrlW

diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala index bf7a981a..25d76426 100644 --- a/src/client/application/geary-controller.vala +++ b/src/client/application/geary-controller.vala @@ -369,12 +369,12 @@ public class GearyController : Geary.BaseObject { private Gtk.ActionEntry[] create_actions() { Gtk.ActionEntry[] entries = new Gtk.ActionEntry[0]; - Gtk.ActionEntry accounts = { ACTION_ACCOUNTS, null, TRANSLATABLE, "M", + Gtk.ActionEntry accounts = { ACTION_ACCOUNTS, null, TRANSLATABLE, null, null, on_accounts }; accounts.label = _("A_ccounts"); entries += accounts; - Gtk.ActionEntry prefs = { ACTION_PREFERENCES, Stock._PREFERENCES, TRANSLATABLE, "E", + Gtk.ActionEntry prefs = { ACTION_PREFERENCES, Stock._PREFERENCES, TRANSLATABLE, null, null, on_preferences }; prefs.label = _("_Preferences"); entries += prefs; diff --git a/ui/app_menu.interface b/ui/app_menu.interface index 77329a35..9c40ec03 100644 --- a/ui/app_menu.interface +++ b/ui/app_menu.interface @@ -4,12 +4,10 @@ A_ccounts app.GearyAccounts - <Primary>M _Preferences app.GearyPreferences - <Primary>E