diff options
author | Martin Prochnow <nordlicht@martins-kabuff.de> | 2006-12-04 11:35:54 +0100 |
---|---|---|
committer | Andreas Mair <andreas@vdr-developer.org> | 2006-12-04 11:35:54 +0100 |
commit | 01be0f47d4fcfce954f77a037f8ab4d5368c8fe7 (patch) | |
tree | c9ef3945e2f0303987e0770b6425efd5ebb4e5a4 /mymenusetup.c | |
parent | 978605b653893d76a6e34f923d74bb64dfb957ca (diff) | |
download | vdr-plugin-extrecmenu-01be0f47d4fcfce954f77a037f8ab4d5368c8fe7.tar.gz vdr-plugin-extrecmenu-01be0f47d4fcfce954f77a037f8ab4d5368c8fe7.tar.bz2 |
Version 0.12bv0.12b
- type of sorting (ascending/descending) selectable at the setup menu of the plugin
- 'Blue' also closes the info menu for a recording
Diffstat (limited to 'mymenusetup.c')
-rw-r--r-- | mymenusetup.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mymenusetup.c b/mymenusetup.c index 329631b..f35217d 100644 --- a/mymenusetup.c +++ b/mymenusetup.c @@ -15,6 +15,7 @@ mySetup::mySetup() mysetup.ShowRecTime=1; mysetup.ShowRecLength=0; mysetup.ShowNewRecs=1; + mysetup.DescendSorting=0; } mySetup mysetup; @@ -29,9 +30,14 @@ myMenuSetup::myMenuSetup() showreclength=mysetup.ShowRecLength; showdvdnr=mysetup.ShowDvdNr; shownewrecs=mysetup.ShowNewRecs; + descendsorting=mysetup.DescendSorting; + + sortingtypetexts[0]=tr("ascending"); + sortingtypetexts[1]=tr("descending"); Add(new cMenuEditBoolItem(tr("Hide main menu entry"),&hidemainmenuentry)); Add(new cMenuEditBoolItem(tr("Replace original recordings menu"),&replaceorgrecmenu)); + Add(new cMenuEditStraItem(tr("Sorting"),&descendsorting,2,sortingtypetexts)); Add(new cMenuEditBoolItem(tr("Show recording date"),&showrecdate)); Add(new cMenuEditBoolItem(tr("Show recording time"),&showrectime)); Add(new cMenuEditBoolItem(tr("Show recording length"),&showreclength)); @@ -50,4 +56,5 @@ void myMenuSetup::Store() SetupStore("ShowRecTime",mysetup.ShowRecTime=showrectime); SetupStore("ShowRecLength",mysetup.ShowRecLength=showreclength); SetupStore("ShowNewRecs",mysetup.ShowNewRecs=shownewrecs); + SetupStore("DescendSorting",mysetup.DescendSorting=descendsorting); } |