Ticket #1999: proginfo.tl.patch

File proginfo.tl.patch, 6.6 KB (added by anonymous, 15 years ago)

the patch to add 'PROGINFO'

  • libs/libmythtv/previouslist.cpp

     
    148148            deleteItem();
    149149        else if (action == "LEFT")
    150150            accept();
    151         else if (action == "INFO")
     151        else if (action == "PROGINFO")
    152152            edit();
    153153        else if (action == "UPCOMING")
    154154            upcoming();
    155         else if (action == "DETAILS")
     155        else if (action == "DETAILS" || action == "INFO")
    156156            details();
    157157        else if (action == "1")
    158158        {
  • libs/libmythtv/viewschdiff.cpp

     
    125125                pageUp();
    126126            else if (action == "PAGEDOWN")
    127127                pageDown();
    128             else if (action == "INFO")
     128            else if (action == "PROGINFO")
    129129                edit();
    130130            else if (action == "UPCOMING")
    131131                upcoming();
    132             else if (action == "DETAILS")
     132            else if (action == "DETAILS" || action == "INFO")
    133133                details();
    134134            else if (action == "SELECT")
    135135                statusDialog();
  • libs/libmythtv/proglist.cpp

     
    165165            select();
    166166        else if (action == "LEFT")
    167167            accept();
    168         else if (action == "INFO")
     168        else if (action == "PROGINFO")
    169169            edit();
    170170        else if (action == "CUSTOMEDIT")
    171171            customEdit();
    172172        else if (action == "UPCOMING")
    173173            upcoming();
    174         else if (action == "DETAILS")
     174        else if (action == "DETAILS" || action == "INFO")
    175175            details();
    176176        else if (action == "TOGGLERECORD")
    177177            quickRecord();
  • libs/libmythtv/infodialog.cpp

     
    217217        QString action = actions[i];
    218218        handled = true;
    219219
    220         if (action == "MENU" || action == "INFO")
     220        if (action == "MENU" || action == "PROGINFO")
    221221            advancedEdit(lview->currentItem());
    222222        else if (action == "SELECT")
    223223            selected(lview->currentItem());
  • libs/libmythtv/guidegrid.cpp

     
    412412                else
    413413                    editRecording();
    414414            }
    415             else if (action == "INFO")
     415            else if (action == "PROGINFO")
    416416                editScheduled();
    417417            else if (action == "CUSTOMEDIT")
    418418                customEdit();
    419419            else if (action == "UPCOMING")
    420420                upcoming();
    421             else if (action == "DETAILS")
     421            else if (action == "DETAILS" || action == "INFO")
    422422                details();
    423423            else if (action == "TOGGLERECORD")
    424424                quickRecord();
  • libs/libmythtv/tv_play.cpp

     
    8787    REG_KEY("TV Frontend", "DETAILS", "Show program details", "U");
    8888    REG_KEY("TV Frontend", "VIEWCARD", "Switch Capture Card view", "Y");
    8989    REG_KEY("TV Frontend", "CUSTOMEDIT", "Edit Custom Record Rule", "E");
     90    REG_KEY("TV Frontend", "PROGINFO", "Program Schedule Info/Edit", "I");
    9091
     92
    9193    REG_KEY("TV Playback", "CLEAROSD", "Clear OSD", "Backspace");
    9294    REG_KEY("TV Playback", "PAUSE", "Pause", "P");
    9395    REG_KEY("TV Playback", "DELETE", "Delete Program", "D");
  • libs/libmythtv/progfind.cpp

     
    188188            pageUp();
    189189        else if (action == "PAGEDOWN")
    190190            pageDown();
    191         else if (action == "SELECT" || action == "INFO")
     191        else if (action == "SELECT" || action == "PROGINFO")
    192192            select();
    193193        else if (action == "CUSTOMEDIT")
    194194            customEdit();
    195195        else if (action == "UPCOMING")
    196196            upcoming();
    197         else if (action == "DETAILS")
     197        else if (action == "DETAILS" || action == "INFO")
    198198            details();
    199199        else if (action == "MENU" || action == "ESCAPE")
    200200            escape();
  • programs/mythfrontend/playbackbox.cpp

     
    35683568            exitWin();
    35693569        else if (action == "1" || action == "HELP")
    35703570            showIconHelp();
    3571         else if (action == "MENU")
    3572             showMenu();
     3571        // else if (action == "MENU")
     3572        //    showMenu();
    35733573        else if (action == "NEXTFAV")
    35743574        {
    35753575            if (inTitle)
     
    35973597                deleteSelected();
    35983598            else if (action == "PLAYBACK")
    35993599                playSelected();
    3600             else if (action == "INFO")
     3600            else if (action == "MENU" || action == "PROGINFO")
    36013601                showActionsSelected();
    3602             else if (action == "DETAILS")
     3602            else if (action == "INFO" || action == "DETAILS")
    36033603                details();
    36043604            else if (action == "UPCOMING")
    36053605                upcoming();
  • programs/mythfrontend/viewscheduled.cpp

     
    100100
    101101            if (action == "SELECT")
    102102                selected();
    103             else if (action == "MENU" || action == "INFO")
     103            else if (action == "MENU" || action == "PROGINFO")
    104104                edit();
    105105            else if (action == "CUSTOMEDIT")
    106106                customEdit();
    107107            else if (action == "UPCOMING")
    108108                upcoming();
    109             else if (action == "DETAILS")
     109            else if (action == "DETAILS" || action == "INFO")
    110110                details();
    111111            else if (action == "ESCAPE" || action == "LEFT")
    112112                done(MythDialog::Accepted);