diff: allow the image diff mode to be toggled
commit7cad2adeb1ce880ffc30bdb0fc7a68d98ee803db
authorDavid Aguilar <davvid@gmail.com>
Mon, 25 May 2020 22:57:25 +0000 (25 15:57 -0700)
committerDavid Aguilar <davvid@gmail.com>
Mon, 25 May 2020 23:01:14 +0000 (25 16:01 -0700)
treec910bc57cedeecc7efe1cce2edaf4436dd7cf4a7
parent587f46608a7fddc36d7d6cd62a71225b840577b1
diff: allow the image diff mode to be toggled

Add a toggle button for enabling and disabling the Image Diff mode.
This lays the groundwork for being able to remember whether the mode has
been disabled for particular file types.

Related-to: #859
Related-to: #1035
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/cmds.py
cola/models/main.py
cola/widgets/diff.py
cola/widgets/status.py