summaryrefslogtreecommitdiff
path: root/epgsearchcfg.c
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2008-01-17 20:12:19 +0100
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2008-01-17 20:12:19 +0100
commitf708cbcbb9e77248998115a347f6c0d4e92177a3 (patch)
tree53372005b5a60849cef8fd4e293e8856466599fe /epgsearchcfg.c
parente0c56f9f4339259271143ae0485011233213e5f8 (diff)
downloadvdr-plugin-epgsearch-f708cbcbb9e77248998115a347f6c0d4e92177a3.tar.gz
vdr-plugin-epgsearch-f708cbcbb9e77248998115a347f6c0d4e92177a3.tar.bz2
- spanish translation update for 'only'-plugins
- favorites menu before 'what's on next' - jump to corresponding broadcast in schedule after shifting in the other menus
Diffstat (limited to 'epgsearchcfg.c')
-rw-r--r--epgsearchcfg.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/epgsearchcfg.c b/epgsearchcfg.c
index 8ed31e2..a3c8653 100644
--- a/epgsearchcfg.c
+++ b/epgsearchcfg.c
@@ -105,6 +105,19 @@ int cShowMode::Compare(const cListObject &ListObject) const
if (mode == showFavorites && p->mode != showFavorites) return 1;
if (p->mode == showFavorites && mode != showFavorites) return -1;
}
+ if (EPGSearchConfig.showFavoritesMenu == 3)
+ {
+ if (mode == showFavorites)
+ {
+ if (p->mode < showNext) return 1;
+ else return -1;
+ }
+ if (p->mode == showFavorites)
+ {
+ if (mode < showNext) return -1;
+ else return 1;
+ }
+ }
if (mode > showNext && p->mode > showNext)
return seekTime - p->seekTime;
else