status: move more logic into the model
commit1a8c058eba6efe6f9db1822eb6abdc8f3b419247
authorDavid Aguilar <davvid@gmail.com>
Sun, 18 Aug 2013 00:22:57 +0000 (17 17:22 -0700)
committerDavid Aguilar <davvid@gmail.com>
Sun, 18 Aug 2013 00:22:57 +0000 (17 17:22 -0700)
treef37886d991b64c96ba607134c0b626097bad0417
parent068064da9d5249829ed666756ccd28c4b87bec7e
status: move more logic into the model

Teach the model to filter the selection list when updating files.  This
lets us move logic out of the status widget and avoid creating callback
loops.

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