Add a method to find data files in standard directories (such as $PREFIX/share)
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 11 Jan 2009 22:34:17 +0000 (23:34 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 12 Jan 2009 03:00:44 +0000 (04:00 +0100)
commit6f99a6e2f39aaacabe8bb51a7bb1ff53c1b2082f
tree5c877d82dcb2ff6d8d41b5d70c9b31aac3d59101
parentf824db0e31b54969e0b7fa0b5405b1e9173d482c
Add a method to find data files in standard directories (such as $PREFIX/share)

Also we move finding those directories out of iconloader.cpp into util.cpp such that we
can reuse that elsewhere.
Oh, and we make IconLoader spit out a warning if an icon isn't found now, as sometimes icons
change names upstream.
src/common/util.cpp
src/common/util.h
src/uisupport/iconloader.cpp