View Single Post
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#74
Originally Posted by TPC View Post
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
Good catch, thanks. I'll fix the directory issue, too - the icons should be in the same directory as the POI database file itself.