commitmsg: fix handling of model-generated signals
commitb1ddd390690bb2eda02341431a869b616d8f28f9
authorDavid Aguilar <davvid@gmail.com>
Mon, 15 Jun 2015 18:18:09 +0000 (15 11:18 -0700)
committerDavid Aguilar <davvid@gmail.com>
Mon, 15 Jun 2015 18:18:11 +0000 (15 11:18 -0700)
treedca008c301fba3d27fa2825df6cb1c3bb799af92
parent7632755193533435682cf2c2c433092c3d5e392f
commitmsg: fix handling of model-generated signals

The "Sign off" feature was broken when we switched to using
QueuedConnection.  Signals are now deferred, so handle that case
by passing the "notify=False" flag when updating the model,
rather than relying on the "notifying" flag, which is
unreliable.

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