status: support stripping an arbitary number of leading paths
commitc53ba39c45f65691b4543170c90a55913e4054ca
authorDavid Aguilar <davvid@gmail.com>
Sun, 5 Feb 2023 01:17:06 +0000 (4 17:17 -0800)
committerDavid Aguilar <davvid@gmail.com>
Sun, 5 Feb 2023 02:08:45 +0000 (4 18:08 -0800)
tree0907377d94964b4ea38eb22dda5aff166861c6a7
parentd2de052ed43f15f006d1b1dfd820cd60a903941a
status: support stripping an arbitary number of leading paths

Teach the "Copy Leading Path" action to strip an arbitrary number of
leading paths from the copy path.

Add an inline spinbox to the menu action that allows setting the value.

Closes #784
Reported-by: ๆž—ๅšไป(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/widgets/status.py