Ticket #11496: proglist.diff

File proglist.diff, 2.1 KB (added by amb@…, 11 years ago)

Patch for program list screens

  • mythtv/programs/mythfrontend/proglist.cpp

    diff --git a/mythtv/programs/mythfrontend/proglist.cpp b/mythtv/programs/mythfrontend/proglist.cpp
    index c66a42b..b1bbedc 100644
    b a  
    239239            ShowDeleteItemMenu();
    240240        else if (action == "UPCOMING")
    241241            ShowUpcoming();
    242         else if (action == "PREVIOUS")
    243             ShowPrevious();
    244242        else if (action == "DETAILS" || action == "INFO")
    245243            ShowDetails();
    246244        else if (action == "TOGGLERECORD")
     
    307305    if (m_type != plPreviouslyRecorded)
    308306        menu->AddItem(tr("Record"), SLOT(RecordSelected()));
    309307
    310     menu->AddItem(tr("Edit Schedule"),     SLOT(EditScheduled()));
    311     menu->AddItem(tr("Program Details"),   SLOT(ShowDetails()));
    312     menu->AddItem(tr("Upcoming"),          SLOT(ShowUpcoming()));
    313     menu->AddItem(tr("Previous Scheduled"),SLOT(ShowPrevious()));
    314     menu->AddItem(tr("Custom Edit"),       SLOT(EditCustom()));
     308    menu->AddItem(tr("Edit Schedule"),   SLOT(EditScheduled()));
     309    menu->AddItem(tr("Program Details"), SLOT(ShowDetails()));
     310    menu->AddItem(tr("Upcoming"),        SLOT(ShowUpcoming()));
     311    menu->AddItem(tr("Custom Edit"),     SLOT(EditCustom()));
    315312
    316313    ProgramInfo *pi = m_itemList[m_progList->GetCurrentPos()];
    317314    if (m_type != plPreviouslyRecorded)
     
    766763        ScheduleCommon::ShowUpcoming(pi);
    767764}
    768765
    769 void ProgLister::ShowPrevious(void)
    770 {
    771     ProgramInfo *pi = GetCurrent();
    772     if (pi && m_type != plTitle)
    773         ScheduleCommon::ShowPrevious(pi);
    774 }
    775 
    776766void ProgLister::FillViewList(const QString &view)
    777767{
    778768    m_viewList.clear();
  • mythtv/programs/mythfrontend/proglist.h

    diff --git a/mythtv/programs/mythfrontend/proglist.h b/mythtv/programs/mythfrontend/proglist.h
    index 5ecc84c..749b189 100644
    b a  
    6565
    6666    void ShowDetails(void)   { ScheduleCommon::ShowDetails(GetCurrent());   }
    6767    void ShowUpcoming(void);
    68     void ShowPrevious(void);
    6968    void ShowDeleteRuleMenu(void);
    7069    void ShowDeleteOldEpisodeMenu(void);
    7170    void ShowChooseViewMenu(void);