Bitmessage/PyBitmessage — pull request #335 by nimdahk (2013-07-26 02:30:54+00:00)
Title: "Mark Unread" in Inbox

This is one of the feature requests in the wiki. My implementation works when multiple messages are selected (ctrl+click, shift+click), which any normal user would expect.

Hopefully there isn't any Unicode voodoo I'm missing.

Is it possible to deselect all rows, and revert to the state that PyBitmessage is in on startup (nothing in message textbox, no message selected)? I tried selecting the next row, which worked reasonably well, but it doesn't behave the same when the last row is selected (nothing happens), so I went with "nothing happens" all the time.
Luckily, this works: even when only one message is selected, it stays "unread" after the operation until it is reopened.