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.
This commit is contained in:
Jim Nelson 2014-02-04 18:40:49 -08:00
parent 35a8a397f1
commit 28c7eba17d
2 changed files with 4 additions and 0 deletions

View file

@ -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";

View file

@ -1,5 +1,7 @@
<ui>
<accelerator action="GearyNewMessage" />
<accelerator action="GearyArchiveMessage" />
<accelerator action="GearyTrashMessage" />
<accelerator action="GearyDeleteMessage" />
<accelerator action="GearyReplyToMessage" />
<accelerator action="GearyReplyAllMessage" />