browser: better refresh behavior
commit85acfe6ba4b1d94ac5bd57adab024020c053a0be
authorDavid Aguilar <davvid@gmail.com>
Sun, 16 Aug 2015 00:47:41 +0000 (15 17:47 -0700)
committerDavid Aguilar <davvid@gmail.com>
Sun, 16 Aug 2015 00:50:15 +0000 (15 17:50 -0700)
treef0467f2dcea0eecddc70f9f25c3d1e613bd4f4c8
parentf45a7b23aa0e2da704b59ae86228871386817fcf
browser: better refresh behavior

Retain the selection when refreshing.
Detect when files are added and removed so that we can know when to
rebuild the tree.

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