Change handling of message labels
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 22 Jul 2009 22:12:07 +0000 (00:12 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 6 Aug 2009 18:25:05 +0000 (20:25 +0200)
commit5e2f64e61df2a61d1b0a8dbb2300d5be785edffe
tree72f3e73a76e8a848819a524e188b3429643b0be6
parentc639f2b13b485c0d158ee3857742eaf4d1fa4760
Change handling of message labels

Turns out that it seems to make more sense to apply labels after everything
else, so we can override all formats if a label is set. Also, this prepares
representing selections through message labels rather than special casing in paint().

As a sideeffect, I could simplify the code somewhat and remove duplication.
src/uisupport/uistyle.cpp
src/uisupport/uistyle.h