My C is not too hot, and my gtk is even worse, but I can't find the place where the _poi_db_dirname variable is set in the source. The only code I can find seem to be for changing it after changing it in the settings dialog, but nothing that sets it initially. And sure enough, if I changed the poi db to something else in the settings, and then changed it back to the old value, the icons suddenly work, since that variable is then set properly. But when I restart the program it doesn't go trought the settings dialog, and thus the variable is unset again, and icons stop working. This should help you fix the problem