The new menu category mcRecordingEdit is now used to mark menus that edit recording properties

This commit is contained in:
Klaus Schmidinger 2013-11-03 14:10:59 +01:00
parent 39f6b6fc6b
commit ff4aed2227
4 changed files with 9 additions and 4 deletions

View File

@ -3177,6 +3177,8 @@ Stefan Braun <louis.braun@gmx.de>
for reporting an endless loop in cTextWrapper::Set() in case the given Width is smaller
than one character
for reporting an endless loop in the DrawEllipse() functions for very small ellipses
for suggesting to add the menu category mcRecordingEdit for marking menus that edit
recording properties
Jochen Dolze <vdr@dolze.de>
for changing cThread::SetIOPriority() from "best effort class" to "idle class" in order

View File

@ -8053,3 +8053,5 @@ Video Disk Recorder Revision History
can press the Red key.
- Fixed a possible access to uninitialized data in cEIT::cEIT() (reported by Dominik
Strasser).
- The new menu category mcRecordingEdit is now used to mark menus that edit recording
properties (suggested by Stefan Braun).

6
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 3.12 2013/11/03 13:27:17 kls Exp $
* $Id: menu.c 3.13 2013/11/03 14:08:35 kls Exp $
*/
#include "menu.h"
@ -2139,7 +2139,7 @@ public:
cMenuPathEdit::cMenuPathEdit(const char *Path)
:cOsdMenu(tr("Edit path"), 12)
{
SetMenuCategory(mcRecording);
SetMenuCategory(mcRecordingEdit);
path = Path;
*folder = 0;
*name = 0;
@ -2254,7 +2254,7 @@ public:
cMenuRecordingEdit::cMenuRecordingEdit(cRecording *Recording)
:cOsdMenu(tr("Edit recording"), 12)
{
SetMenuCategory(mcRecording);
SetMenuCategory(mcRecordingEdit);
recording = Recording;
originalFileName = recording->FileName();
Recordings.StateChanged(recordingsState); // just to get the current state

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: skins.h 3.1 2013/08/21 10:29:10 kls Exp $
* $Id: skins.h 3.2 2013/11/03 14:07:34 kls Exp $
*/
#ifndef __SKINS_H
@ -101,6 +101,7 @@ enum eMenuCategory {
mcTimerEdit,
mcRecording,
mcRecordingInfo,
mcRecordingEdit,
mcPlugin,
mcPluginSetup,
mcSetup,