diff options
author | Martin Prochnow <nordlicht@martins-kabuff.de> | 2006-06-12 10:10:21 +0200 |
---|---|---|
committer | Andreas Mair <andreas@vdr-developer.org> | 2006-06-12 10:10:21 +0200 |
commit | 75cebc37f280719c40824a6f76b43018f6c71d16 (patch) | |
tree | cf895fdf24e8c3b2c3315edb5c7306f4e7c01f1b /mymenusetup.c | |
parent | 40d2369b12da350f684f5364a00c3501a6c038e6 (diff) | |
download | vdr-plugin-extrecmenu-75cebc37f280719c40824a6f76b43018f6c71d16.tar.gz vdr-plugin-extrecmenu-75cebc37f280719c40824a6f76b43018f6c71d16.tar.bz2 |
Version 0.12v0.12
- reworked layout
- added possibility to set sorting mode for each directory
- if you use the PIN-plugin, ExtRecMenu works together with it to protect recordings
- fixed a very annoying bug which prevent renaming and moving recordings which have special chars in their names if VDR is compiled with VFAT=1 or startet with the option --vfat
Diffstat (limited to 'mymenusetup.c')
-rw-r--r-- | mymenusetup.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/mymenusetup.c b/mymenusetup.c index 4af1ca9..329631b 100644 --- a/mymenusetup.c +++ b/mymenusetup.c @@ -8,25 +8,19 @@ mySetup::mySetup() { mysetup.HideMainMenuEntry=0; - mysetup.PatchNew=0; + mysetup.PatchNew=1; mysetup.ShowDvdNr=0; mysetup.ReplaceOrgRecMenu=0; mysetup.ShowRecDate=1; mysetup.ShowRecTime=1; mysetup.ShowRecLength=0; mysetup.ShowNewRecs=1; - mysetup.SortRecords=0; } mySetup mysetup; myMenuSetup::myMenuSetup() { - sortrecordstext[0]=tr("alphabet for main-, flexible for subdirectories"); - sortrecordstext[1]=tr("date for main-, flexible for subdirectories"); - sortrecordstext[2]=tr("alphabet for all directories"); - sortrecordstext[3]=tr("date for all directories"); - hidemainmenuentry=mysetup.HideMainMenuEntry; patchnew=mysetup.PatchNew; replaceorgrecmenu=mysetup.ReplaceOrgRecMenu; @@ -35,17 +29,15 @@ myMenuSetup::myMenuSetup() showreclength=mysetup.ShowRecLength; showdvdnr=mysetup.ShowDvdNr; shownewrecs=mysetup.ShowNewRecs; - sortrecords=mysetup.SortRecords; Add(new cMenuEditBoolItem(tr("Hide main menu entry"),&hidemainmenuentry)); Add(new cMenuEditBoolItem(tr("Replace original recordings menu"),&replaceorgrecmenu)); Add(new cMenuEditBoolItem(tr("Show recording date"),&showrecdate)); Add(new cMenuEditBoolItem(tr("Show recording time"),&showrectime)); Add(new cMenuEditBoolItem(tr("Show recording length"),&showreclength)); - Add(new cMenuEditBoolItem(tr("Show \"new recordings column\""),&shownewrecs)); + Add(new cMenuEditBoolItem(tr("Show nr. of new recordings in a directory"),&shownewrecs)); Add(new cMenuEditBoolItem(tr("Show alternative to new marker"),&patchnew)); Add(new cMenuEditBoolItem(tr("Show dvd id"),&showdvdnr)); - Add(new cMenuEditStraItem(tr("Sort recordings by"),&sortrecords,4,sortrecordstext)); } void myMenuSetup::Store() @@ -58,5 +50,4 @@ void myMenuSetup::Store() SetupStore("ShowRecTime",mysetup.ShowRecTime=showrectime); SetupStore("ShowRecLength",mysetup.ShowRecLength=showreclength); SetupStore("ShowNewRecs",mysetup.ShowNewRecs=shownewrecs); - SetupStore("SortRecords",mysetup.SortRecords=sortrecords); } |