diff: open the "Apply Patches" dialog when dragging and dropping patches
commit711a9e5b0cdfad25b894c8037d9df80009a290e6
authorDavid Aguilar <davvid@gmail.com>
Sat, 3 Jun 2023 13:17:59 +0000 (3 06:17 -0700)
committerDavid Aguilar <davvid@gmail.com>
Sat, 3 Jun 2023 13:17:59 +0000 (3 06:17 -0700)
tree395c53d02070e857e244512c708dcca7e9af8485
parent73db775aa2ba9a1343383ab5f9944e4b6f3fa9b2
diff: open the "Apply Patches" dialog when dragging and dropping patches

Teach the diff viewer to apply patches when they are dragged-and-dropped
from a file browser. This makes it very easy to apply "git am" patches.

Signed-off-by: David Aguilar <davvid@gmail.com>
CHANGES.rst
cola/widgets/diff.py
cola/widgets/patch.py