summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--epggrid.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/epggrid.c b/epggrid.c
index 80dbc8e..47768fe 100644
--- a/epggrid.c
+++ b/epggrid.c
@@ -158,7 +158,11 @@ void cEpgGrid::drawText() {
LOCK_TIMERS_READ;
timer = Timers->GetMatch(event);
if (timer)
- if (timer->HasFlags(tfActive))
+#ifdef USE_SWITCHONLY
+ if (timer->HasFlags(tfSwitchOnly))
+ drawIcon("Switch", theme.Color(clrButtonYellow));
+#endif /* SWITCHONLY */
+ else if (timer->HasFlags(tfActive))
drawIcon("REC", theme.Color(clrButtonRed));
else
drawIcon("REC", theme.Color(clrButtonGreen));