branch: do not show remote messages for async git actions
commite1b594e1b99ffc1ee2f83b08aeb972d1d6ca32da
authorDavid Aguilar <davvid@gmail.com>
Fri, 10 Nov 2023 06:02:20 +0000 (9 22:02 -0800)
committerDavid Aguilar <davvid@gmail.com>
Fri, 10 Nov 2023 06:09:11 +0000 (9 22:09 -0800)
tree394a2f5173dd919d34b5f3b9ebebc7002ccbd36b
parentcaa122c7e6e4030e154453c5188d569cf68971dd
branch: do not show remote messages for async git actions

We inadvertently wired-up the remote messages dialog for all async git
actions in the branch widget. We should only show these for Push and
Pull, and only when the checkbox has been enabled in the main Push and
Pull dialogs.

Closes: #1363
Reported-by: Zauberin Stardreamer @zauberparacelsus on github
Signed-off-by: David Aguilar <davvid@gmail.com>
CHANGES.rst
cola/widgets/branch.py
cola/widgets/remote.py
cola/widgets/remotemessage.py