From 28c7eba17db3e0e544ad9a5cf0d839ec79c35909 Mon Sep 17 00:00:00 2001 From: Jim Nelson Date: Tue, 4 Feb 2014 18:40:49 -0800 Subject: [PATCH] Can't press A or Delete to archive/trash message: Closes bgo#721789 If compiled with the GDK binding fix in Vala 0.23.2 (bgo#713240), this patch fixes the accelerator problem. Tip o' the hat to Charles, who pointed out the accelerators.ui file. --- src/client/application/geary-controller.vala | 2 ++ ui/accelerators.ui | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala index 6b61deab..b5aa91bf 100644 --- a/src/client/application/geary-controller.vala +++ b/src/client/application/geary-controller.vala @@ -7,6 +7,8 @@ // Primary controller object for Geary. public class GearyController : Geary.BaseObject { // Named actions. + // + // NOTE: Some actions with accelerators need to also be added to ui/accelerators.ui public const string ACTION_HELP = "GearyHelp"; public const string ACTION_ABOUT = "GearyAbout"; public const string ACTION_DONATE = "GearyDonate"; diff --git a/ui/accelerators.ui b/ui/accelerators.ui index c3a5457e..fdc93ea5 100644 --- a/ui/accelerators.ui +++ b/ui/accelerators.ui @@ -1,5 +1,7 @@ + +