aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Sommerfeld <kai.sommerfeld@gmx.com>2015-07-12 16:37:00 +0200
committerKai Sommerfeld <kai.sommerfeld@gmx.com>2015-07-17 23:58:34 +0200
commitb7582dc44c7f6ad673c53199672056d1483001da (patch)
tree58582743dbbfb57b0d5f5b736d427eeac7100628
parent4c29ccda015e112af136ef20fd550a7359135174 (diff)
[EPG] Use key 'remote 0' to jump to 'now' in EPG window.
-rw-r--r--xbmc/epg/GUIEPGGridContainer.cpp4
-rw-r--r--xbmc/pvr/windows/GUIWindowPVRGuide.cpp1
2 files changed, 4 insertions, 1 deletions
diff --git a/xbmc/epg/GUIEPGGridContainer.cpp b/xbmc/epg/GUIEPGGridContainer.cpp
index 0196d19093..8f84470b3f 100644
--- a/xbmc/epg/GUIEPGGridContainer.cpp
+++ b/xbmc/epg/GUIEPGGridContainer.cpp
@@ -633,6 +633,10 @@ bool CGUIEPGGridContainer::OnAction(const CAction &action)
ScrollToBlockOffset(m_blockOffset - (12 * 60 / MINSPERBLOCK));
return true;
+ case REMOTE_0:
+ GoToNow();
+ return true;
+
case ACTION_PAGE_UP:
if (m_channelOffset == 0)
{ // already on the first page, so move to the first item
diff --git a/xbmc/pvr/windows/GUIWindowPVRGuide.cpp b/xbmc/pvr/windows/GUIWindowPVRGuide.cpp
index eb3d86d229..536aabe070 100644
--- a/xbmc/pvr/windows/GUIWindowPVRGuide.cpp
+++ b/xbmc/pvr/windows/GUIWindowPVRGuide.cpp
@@ -159,7 +159,6 @@ bool CGUIWindowPVRGuide::OnAction(const CAction &action)
{
switch (action.GetID())
{
- case REMOTE_0:
case REMOTE_1:
case REMOTE_2:
case REMOTE_3: