diff options
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 24 |
1 files changed, 8 insertions, 16 deletions
@@ -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 <vdr/channels.h> @@ -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); } |