I know (and all of you probably to) that the current GUIEPGGridContainer implementation is far from ideal. But until someone will do a full rework we should try to fix some main issues.
Here are two commits:
1.) The first one fixes the problem with ruler items not being generated at the end if the selected timezone isn't UTC
2.) The second one replaces direct m_blockCursor changes with the default setter. And I also edited the setter to prevent the m_blockCursor being set out of screen bounds (between 0 and m_blocksPerPage). This prevents the cursor from getting out of the screen when moving up/down in the timeline and crossing a long show which exceeds the screen bounds.
GUIEPGGridContainer - fix ruler for non UTC timezones
GUIEPGGridContainer - always use setter for m_blockCursor to prevent …
…focus going out of screen