Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > media > contrib-backports-src > by-pkgid > 923b80a16d577dc19d16248262a7f937 > files > 2

vdr-plugin-ffnetdev-0.1.0-12mdv2007.1.src.rpm

diff -Nurp vdr-ffnetdev-0.1.0/ffnetdev.c vdr-ffnetdev-fix/ffnetdev.c
--- vdr-ffnetdev-0.1.0/ffnetdev.c	2006-02-24 00:57:24.000000000 +0200
+++ vdr-ffnetdev-fix/ffnetdev.c	2006-07-12 05:50:50.000000000 +0300
@@ -127,8 +127,10 @@ bool cPluginFFNetDev::ProcessArgs(int ar
   return true;
 }
 
-bool cPluginFFNetDev::Active(void) {
-	return (cOSDWorker::Active() || cTSWorker::Active());
+cString cPluginFFNetDev::Active(void) {
+	if (cOSDWorker::Active() || cTSWorker::Active())
+		return tr("ffnetdev is active");
+	return NULL;
 }
 
 bool cPluginFFNetDev::Start(void)
diff -Nurp vdr-ffnetdev-0.1.0/ffnetdev.h vdr-ffnetdev-fix/ffnetdev.h
--- vdr-ffnetdev-0.1.0/ffnetdev.h	2006-01-24 15:20:20.000000000 +0200
+++ vdr-ffnetdev-fix/ffnetdev.h	2006-07-12 05:48:22.000000000 +0300
@@ -40,7 +40,7 @@ public:
   virtual cOsdObject *MainMenuAction(void);
   virtual cMenuSetupPage *SetupMenu(void);
   virtual bool SetupParse(const char *Name, const char *Value);
-  virtual bool Active(void);
+  virtual cString Active(void);
   
   void SetPrimaryDevice();
   void RestorePrimaryDevice();