From 5bf4aa553a21a6ec4d6b81638326dc41e078df11 Mon Sep 17 00:00:00 2001 From: thilo Date: Sat, 27 Nov 2010 23:17:54 +0000 Subject: [PATCH] imageinfo: replaced "man neutrino" with link to online documentation git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@902 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/imageinfo.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/gui/imageinfo.cpp b/src/gui/imageinfo.cpp index bdfa26bdf..94f674fe0 100644 --- a/src/gui/imageinfo.cpp +++ b/src/gui/imageinfo.cpp @@ -192,9 +192,13 @@ void CImageInfo::paint() const char * homepage = config.getString("homepage", "n/a").c_str(); const char * creator = config.getString("creator", "n/a").c_str(); const char * version = config.getString("version", "no version").c_str(); - const char * docs = config.getString("docs", "man neutrino").c_str(); + const char * docs = config.getString("docs", "http://wiki.neutrino-hd.de").c_str(); const char * forum = config.getString("forum", "http://forum.tuxbox.org").c_str(); - +#ifdef SVNVERSION + const char * builddate = config.getString("builddate", SVNVERSION).c_str(); +#else + const char * builddate = config.getString("builddate", BUILT_DATE).c_str(); +#endif static CFlashVersionInfo versionInfo(version); const char * releaseCycle = versionInfo.getReleaseCycle(); snprintf((char*) imagedate,sizeof(imagedate), "%s %s", versionInfo.getDate(), versionInfo.getTime()); @@ -214,11 +218,11 @@ void CImageInfo::paint() ypos += iheight; #ifdef SVNVERSION paintLine(xpos , font_info, SVN_REV); - paintLine(xpos+offset, font_info, SVNVERSION ); #else paintLine(xpos , font_info, GIT_REV); - paintLine(xpos+offset, font_info, BUILT_DATE ); #endif + paintLine(xpos+offset, font_info, builddate ); + ypos += iheight; paintLine(xpos , font_info, g_Locale->getText(LOCALE_IMAGEINFO_CREATOR)); paintLine(xpos+offset, font_info, creator);