Ticket #3642: translate-key-presses_program-guide.diff

File translate-key-presses_program-guide.diff, 1.6 KB (added by Roo, 13 years ago)

Fixes Program Guide jump point

  • mythtv/libs/libmythtv/tv_play.cpp

     
    21812181
    21822182    bool was_doing_ff_rew = false;
    21832183    bool redisplayBrowseInfo = false;
     2184    QStringList excludedJumpPoints(QStringList()<<"Program Guide");
    21842185    QStringList actions;
    21852186
    21862187    if (ignoreKeys)
    21872188    {
    21882189        if (!gContext->GetMainWindow()->TranslateKeyPress(
    2189                 "TV Playback", e, actions))
     2190                "TV Playback", e, actions, true, excludedJumpPoints))
    21902191        {
    21912192            return;
    21922193        }
     
    22422243    {
    22432244        QStringList tt_actions;
    22442245        if (gContext->GetMainWindow()->TranslateKeyPress(
    2245                 "Teletext Menu", e, tt_actions))
     2246                "Teletext Menu", e, tt_actions, true, excludedJumpPoints))
    22462247        {
    22472248            for (uint i = 0; i < tt_actions.size(); i++)
    22482249                if (activenvp->HandleTeletextAction(tt_actions[i]))
     
    22552256    {
    22562257        QStringList itv_actions;
    22572258        if (gContext->GetMainWindow()->TranslateKeyPress(
    2258                 "ITV Menu", e, itv_actions))
     2259                "ITV Menu", e, itv_actions, true, excludedJumpPoints))
    22592260        for (uint i = 0; i < itv_actions.size(); i++)
    22602261        {
    22612262            if (activenvp->ITVHandleAction(itv_actions[i]))
     
    22642265    }
    22652266
    22662267    if (!gContext->GetMainWindow()->TranslateKeyPress(
    2267             "TV Playback", e, actions))
     2268            "TV Playback", e, actions, true, excludedJumpPoints))
    22682269    {
    22692270        return;
    22702271    }