summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-10-16 09:49:26 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2013-10-16 09:49:26 +0200
commitfb74e0feeb92ccebb3a9da28c79681c6ea2cf043 (patch)
tree70701292ed12bb5656717481bdb2ebb6e470badb
parentcb1498a6093adee4db9d88bac4c977c59b68c936 (diff)
downloadvdr-fb74e0feeb92ccebb3a9da28c79681c6ea2cf043.tar.gz
vdr-fb74e0feeb92ccebb3a9da28c79681c6ea2cf043.tar.bz2
Fixed an inconsistent behavior between opening the Recordings menu manually via the main menu and by pressing the Recordings key
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY8
-rw-r--r--menu.c6
-rw-r--r--menu.h4
-rw-r--r--vdr.c4
5 files changed, 16 insertions, 8 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 1809dddb..a4ac7e4b 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -618,6 +618,8 @@ Helmut Auer <vdr@helmutauer.de>
for suggesting to read the epg.data file in a separate thread
for some improvements to allowing the parameters PATH and NAME to the --dirnames
command line option to be left empty to use the default values if only ENC shall be set
+ for reporting an inconsistent behavior between opening the Recordings menu manually
+ via the main menu and by pressing the Recordings key
Jeremy Hall <jhall@UU.NET>
for fixing an incomplete initialization of the filter parameters in eit.c
diff --git a/HISTORY b/HISTORY
index ac9c162b..003d2bc0 100644
--- a/HISTORY
+++ b/HISTORY
@@ -7832,7 +7832,7 @@ Video Disk Recorder Revision History
- Fixed cleaning up old EPG events in case no epg data file is given (reported by
Dave Pickles).
-2013-10-13: Version 2.0.4
+2013-10-16: Version 2.0.4
- Unified the internal sequence of actions when pressing the Blue and the Back key,
respectively, during replay (reported by Thomas Maass).
@@ -7849,3 +7849,9 @@ Video Disk Recorder Revision History
while a recording is active (reported by Torsten Lang).
- Added maximum signal strength value for TechniSat SkyStar 2 DVB-S rev 2.3P (thanks
to Guido Cordaro).
+- Fixed an inconsistent behavior between opening the Recordings menu manually via the
+ main menu and by pressing the Recordings key. In the latter case it automatically
+ opened all sub folders to position the cursor to the last replayed recording, which
+ is unexpected at this point (reported by Helmut Auer). You can still navigate to
+ the last replayed recording (if any) by pressing Ok repeatedly in the Recordings
+ menu.
diff --git a/menu.c b/menu.c
index e0b2438a..44f00550 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 2.82.1.4 2013/09/07 12:53:34 kls Exp $
+ * $Id: menu.c 2.82.1.5 2013/10/16 09:46:24 kls Exp $
*/
#include "menu.h"
@@ -3364,7 +3364,7 @@ cMenuPluginItem::cMenuPluginItem(const char *Name, int Index)
cOsdObject *cMenuMain::pluginOsdObject = NULL;
-cMenuMain::cMenuMain(eOSState State)
+cMenuMain::cMenuMain(eOSState State, bool OpenSubMenus)
:cOsdMenu("")
{
SetMenuCategory(mcMain);
@@ -3381,7 +3381,7 @@ cMenuMain::cMenuMain(eOSState State)
case osSchedule: AddSubMenu(new cMenuSchedule); break;
case osChannels: AddSubMenu(new cMenuChannels); break;
case osTimers: AddSubMenu(new cMenuTimers); break;
- case osRecordings: AddSubMenu(new cMenuRecordings(NULL, 0, true)); break;
+ case osRecordings: AddSubMenu(new cMenuRecordings(NULL, 0, OpenSubMenus)); break;
case osSetup: AddSubMenu(new cMenuSetup); break;
case osCommands: AddSubMenu(new cMenuCommands(tr("Commands"), &Commands)); break;
default: break;
diff --git a/menu.h b/menu.h
index 196c0385..1a76b414 100644
--- a/menu.h
+++ b/menu.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.h 2.13 2012/12/07 13:44:13 kls Exp $
+ * $Id: menu.h 2.13.1.1 2013/10/16 09:46:15 kls Exp $
*/
#ifndef __MENU_H
@@ -107,7 +107,7 @@ private:
void Set(void);
bool Update(bool Force = false);
public:
- cMenuMain(eOSState State = osUnknown);
+ cMenuMain(eOSState State = osUnknown, bool OpenSubMenus = false);
virtual eOSState ProcessKey(eKeys Key);
static cOsdObject *PluginOsdObject(void);
};
diff --git a/vdr.c b/vdr.c
index c63eecaa..dceabbdf 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.tvdr.de
*
- * $Id: vdr.c 2.57 2013/03/15 10:44:54 kls Exp $
+ * $Id: vdr.c 2.57.1.1 2013/10/16 09:46:36 kls Exp $
*/
#include <getopt.h>
@@ -1234,7 +1234,7 @@ int main(int argc, char *argv[])
case osRecordings:
DELETE_MENU;
cControl::Shutdown();
- Menu = new cMenuMain(osRecordings);
+ Menu = new cMenuMain(osRecordings, true);
break;
case osReplay: DELETE_MENU;
cControl::Shutdown();