Hook based item add / remove
authorJack Miller <jack@codezen.org>
Tue, 12 Apr 2011 22:18:12 +0000 (17:18 -0500)
committerJack Miller <jack@codezen.org>
Tue, 12 Apr 2011 22:18:12 +0000 (17:18 -0500)
commitef4e768869da191f969f700c40485dd8bc5a4a9b
tree6cef5956e4de8c8c363d7351df7a664b1116b860
parent652a213206f35bdfb98967c17b02039e7ec634d9
Hook based item add / remove

This allows us to get the offset / selected item messing about out of
gui.py, where it didn't belong. It also allows us the ability to
remember the selected item and re-select it if it reappears (and there's
no selection already made).

Not sure if it's good behavior yet though, if you're on a read item and
refresh (with the filter_read transform), you'll get put back to the
unselected state...

Signed-off-by: Jack Miller <jack@codezen.org>
canto_curses/gui.py
canto_curses/story.py
canto_curses/tag.py
canto_curses/taglist.py