xbmc/xbmc — pull request #518 by pieh (2011-10-31 23:10:32+00:00)
Title: guilib: execute actions when going through navigation path

Hitcher described potential issue in http://forum.xbmc.org/showthread.php?t=112767. It looks like bug for me but it might be this way by design. Simplified problematic scenario:

We have controls:
id=1: currently focused, <onright>2</onright>
id=2: hidden, <onright>3</onright>
id=3: hidden, <onright>ExecuteSomeBuiltinFunction</onright>

We have control id==1 focused, press right and currently it works like this:
We're going from control 1 to control 2, control 2 isn't focusable so we're checking where should we go from there. We're going from control 2 to control 3, control 3 still isn't focusable, we don't have navigation path so we simply stop there and in the end nothing is happening. Should we execute builtin from control id==3 or not?

If we should - this PR changes/fixes current behaviour. If not - with some cosmetic changes this can clean <onfoo> handling a little bit, I think.