xbmc/xbmc — pull request #1094 by pieh (2012-06-20 11:23:54+00:00)
Title: home.xml existence testing

This fixes issue described in http://forum.xbmc.org/showthread.php?tid=132641

Currently when we load skin, we test if loading Home.xml window is ok: https://github.com/xbmc/xbmc/blob/master....cpp#L1815 . This can actually cause several issues:
a) window will stay in memory and next time we will show it we won't resolve our includes as window is already loaded
b) it will trigger home's window actions (which technically is correct as we load that window, but I doubt anyone want that)

Fix:
Instead of loading home.xml we just test if it exists. I also moved this test before loading any includes, etc. as we don't need them to test file existence.
In addition I notify user that something is wrong with skin and that's why we load default skin instead.