[geary] Can't press A or Delete to archive/trash message: Closes bgo#721789



commit 28c7eba17db3e0e544ad9a5cf0d839ec79c35909
Author: Jim Nelson <jim yorba org>
Date:   Tue Feb 4 18:40:49 2014 -0800

    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(+), 0 deletions(-)
---
diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala
index 6b61dea..b5aa91b 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 c3a5457..fdc93ea 100644
--- a/ui/accelerators.ui
+++ b/ui/accelerators.ui
@@ -1,5 +1,7 @@
 <ui>
     <accelerator action="GearyNewMessage" />
+    <accelerator action="GearyArchiveMessage" />
+    <accelerator action="GearyTrashMessage" />
     <accelerator action="GearyDeleteMessage" />
     <accelerator action="GearyReplyToMessage" />
     <accelerator action="GearyReplyAllMessage" />


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]