From 7254a6752808830d5fc133e5362da6c47f3f84ff Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Thu, 2 Dec 2010 09:43:13 +0100 Subject: Snapshot 2009-06-11 --- common.c | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to 'common.c') diff --git a/common.c b/common.c index 4759515..c38c689 100644 --- a/common.c +++ b/common.c @@ -1,5 +1,5 @@ /* - * $Id: common.c,v 1.6 2008/03/31 10:34:26 schmirl Exp $ + * $Id: common.c,v 1.9 2009/01/16 11:35:43 schmirl Exp $ */ #include @@ -7,15 +7,16 @@ #include "common.h" #include "tools/select.h" -#include "i18n.h" using namespace std; -const char *VERSION = "0.3.4"; +const char *VERSION = "0.5.0-pre-20090611"; const char *StreamTypes[st_Count] = { "TS", +#if APIVERSNUM < 10703 "PES", +#endif "PS", "ES", "Extern", @@ -23,9 +24,9 @@ const char *StreamTypes[st_Count] = { }; const char *SuspendModes[sm_Count] = { - "Offer suspend mode", - "Always suspended", - "Never suspended" + trNOOP("Offer suspend mode"), + trNOOP("Always suspended"), + trNOOP("Never suspended") }; const char IpCharacters[] = "0123456789."; @@ -113,16 +114,7 @@ void cStreamdevMenuSetupPage::AddCategory(const char *Title) { cOsdItem *item = new cOsdItem(buffer); free(buffer); - -#if VDRVERSNUM < 10307 -# ifdef HAVE_BEAUTYPATCH - item->SetColor(clrScrolLine, clrBackground); -# else - item->SetColor(clrCyan, clrBackground); -# endif -#else - item->SetSelectable(false); -#endif + item->SetSelectable(false); Add(item); } -- cgit v1.2.3