From 4def9db10de97dc3e2f11a91d4572f4bb53493bf Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Wed, 17 Oct 2012 15:34:50 +0200 Subject: [PATCH] infoviewer_bb.cpp: dont show CA Status in TS mode Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/8474038c27280bdc77711c31d2d60490f40988bd Author: Jacek Jendrzej Date: 2012-10-17 (Wed, 17 Oct 2012) --- src/gui/infoviewer_bb.cpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/gui/infoviewer_bb.cpp b/src/gui/infoviewer_bb.cpp index 7502bad65..2a3c235db 100644 --- a/src/gui/infoviewer_bb.cpp +++ b/src/gui/infoviewer_bb.cpp @@ -711,14 +711,22 @@ void CInfoViewerBB::paint_ca_icons(int caid, char * icon, int &icon_space_offset void CInfoViewerBB::showIcon_CA_Status(int notfirst) { + + if (g_settings.casystem_display == 3) + return; + if(NeutrinoMessages::mode_ts == CNeutrinoApp::getInstance()->getMode()){ + if (g_settings.casystem_display == 2) { + fta = true; + showOne_CAIcon(); + } + return; + } + int caids[] = { 0x900, 0xD00, 0xB00, 0x1800, 0x0500, 0x0100, 0x600, 0x2600, 0x4a00, 0x0E00 }; const char * white = (char *) "white"; const char * yellow = (char *) "yellow"; int icon_space_offset = 0; - if (g_settings.casystem_display == 3) - return; - if(!g_InfoViewer->chanready) { if (g_settings.casystem_display == 2) { fta = true;