Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] AW: Re: reccmds.conf without changing function of the red button ? Second try



Hallo Gerhard,

> if you want to change that, it is rather simple (i hope)
> check the file menu.c (vdr 1.1.26)
> 
> There is a class called cMenuRecordings.
> Change the following Line within
> cMenuRecordings::ProcessKey from
>        case kRed:    return (helpKeys > 1 &&
> RecordingCommands.Count()) ? Commands() : Play();
> 
> to
>        case kRed:    return Play();
> 
> If you also want to have the correct Name of the red button
> change the following line within
> cMenuRecordings::SetHelpKeys from
>        case 3: SetHelp(RecordingCommands.Count() ?
> tr("Commands") : tr("Play"), tr("Rewind"), tr("Delete"),
> NewHelpKeys == 3 ? tr("Summary") : NULL);
> 
> to
>        case 3: SetHelp(tr("Play"), tr("Rewind"),
> tr("Delete"), NewHelpKeys == 3 ? tr("Summary") : NULL);
> 


thanks a lot - I will try it :)

Greetings
Christian


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index