From ff4aed2227476d53f90df7e7b61aa63f6de11f5d Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 3 Nov 2013 14:10:59 +0100 Subject: [PATCH] The new menu category mcRecordingEdit is now used to mark menus that edit recording properties --- CONTRIBUTORS | 2 ++ HISTORY | 2 ++ menu.c | 6 +++--- skins.h | 3 ++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 6cfc11c0..c65afe8d 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -3177,6 +3177,8 @@ Stefan Braun 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 for changing cThread::SetIOPriority() from "best effort class" to "idle class" in order diff --git a/HISTORY b/HISTORY index 68733017..529a8996 100644 --- a/HISTORY +++ b/HISTORY @@ -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). diff --git a/menu.c b/menu.c index 9d75775f..287ba3fc 100644 --- a/menu.c +++ b/menu.c @@ -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 diff --git a/skins.h b/skins.h index 47a03fc8..8c01aa95 100644 --- a/skins.h +++ b/skins.h @@ -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,