opdenkamp/xbmc — pull request #608 by mikrohard (2012-08-16 10:38:20+00:00)
Title: EPG - improve GoToEnd and GoToBegin functions in CGUIEPGGridContainer

The current "go to end" function in epg grid is far from ideal. It always scrolls to the maximum block even if the selected channel doesn't have any epg for that time interval.

This commit improves the GoToEnd() method so that it always scrolls to the beginning of the last epg item of the selected channel. It also puts focus to the last item.

The GoToBegin() method now also puts focus to the first item of the selected channel.