Fix bugs with the new lightweight decorator for RepositoryTreeNodes
1. The flickering of image decorations was too annoying. Move it
back from the asynchronous decorator to the synchronous label
provider. This means image decorations are computed on the UI
thread again, but since we only decorate ref and tag icons and
these nodes are initially not expanded, it will at least not
have an impact during Eclipse startup. (And in any case it won't
be worse than with the old label provider.)
2. Fix the update of undecorated labels. The caching logic added
for text labels works only if a decorated label is always
different from an undecorated one, even when there are no
decorations. Otherwise we end up mistakenly showing a previously
decorated label. (User-visible effect: toggling off the display
of latest branch commits in the repositories view didn't work.)
Fix this by making our asynchronous decorator always add
something: when there's no decoration, append a single blank.
That's a bit hacky, but works.
Change-Id: Ie00596edd4c39aa976db3543b7219889bd5cbcd3
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>