status: allow Alt+D to select the "Staged" header
commitb41cc1a6acc79bd763e9a29fbc5d80dcf7e48fcc
authorDavid Aguilar <davvid@gmail.com>
Sun, 21 Oct 2018 04:03:12 +0000 (20 21:03 -0700)
committerDavid Aguilar <davvid@gmail.com>
Sun, 21 Oct 2018 04:07:28 +0000 (20 21:07 -0700)
treecd22f9761f9e77101e40ce48a98de342e4fc55c3
parentfecc30e4794f9ed5d01d185f0331a417052faf5e
status: allow Alt+D to select the "Staged" header

Move handling of the Alt+D hotkey to the status widget so that it can
select its header, which triggers a diffstat.

Pressing Alt+D will now display everything that's either staged,
unmerged, modified, or untracked, in priority order.

Closes #771
Suggested-by: Birger Skogeng Pedersen <birgersp@gmail.com>
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/widgets/main.py
cola/widgets/status.py
share/doc/git-cola/relnotes.rst