commitmsg: move the progress bar into the dock title
commit18f2591f658ef8d48e970746e7b485885c574bcf
authorDavid Aguilar <davvid@gmail.com>
Sun, 14 Jan 2024 00:02:20 +0000 (13 16:02 -0800)
committerDavid Aguilar <davvid@gmail.com>
Sun, 14 Jan 2024 00:02:31 +0000 (13 16:02 -0800)
tree4e6045a379ca3ac4d2d1fd8c4296496878a43a3f
parent5a33a788c72072db2cb05b8ae3e11f2b21e5778b
commitmsg: move the progress bar into the dock title

Avoid hiding the Commit button in case it interacts unexpectedly in some
configurations. Move the progress bar into the dock widget's titlebar
area instead of replacing the commit button.

This also has the benefit of preventing the widget from resizing itself
since the Commit button hiding itself can cause subtle shifts in the
layout.

Related-to: #1373
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/widgets/commitmsg.py
cola/widgets/main.py