Sorry to bump an old topic, but it has been 3 years and this is still an excellent suggestion.

The specified icon should also be shown in the treebar, of course, which was added since this thread was started.