neutrino record: use ts-icon instead '[TS]'

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1751 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3b6eccb0bf
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-10-06 (Thu, 06 Oct 2011)

Origin message was:
------------------
*neutrino record: use ts-icon instead '[TS]'

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1751 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
This commit is contained in:
2011-10-06 10:28:30 +00:00
parent 81d70d7631
commit e8b81105e8

View File

@@ -1247,7 +1247,7 @@ bool CRecordManager::ShowMenu(void)
this, "Timeshift", CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
menu.addItem(iteml, false);
if(recmap_size > 0)
if(recmap_size > 0)
{
menu.addItem(new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_MAINMENU_RECORDING_STOP));
mutex.lock();
@@ -1259,17 +1259,17 @@ bool CRecordManager::ShowMenu(void)
channel_ids[i] = channel_id;
recording_ids[i] = inst->GetRecordingId();
std::string title;
inst->GetRecordString(title);
const char* mode_icon = NULL;
if (inst->tshift_mode)
{
std::string tmp_title;
inst->GetRecordString(tmp_title);
title = "[TS] " + tmp_title;
}else
inst->GetRecordString(title);
mode_icon = NEUTRINO_ICON_AUTO_SHIFT;
sprintf(cnt, "%d", i);
item = new CMenuForwarderNonLocalized(title.c_str(), true, NULL,
selector, cnt, CRCInput::convertDigitToKey((recmap_size == 1) ? 0 : shortcut++));
selector, cnt, CRCInput::convertDigitToKey((recmap_size == 1) ? 0 : shortcut++), NULL, mode_icon);
item->setItemButton(NEUTRINO_ICON_BUTTON_OKAY, true);
menu.addItem(item, false);
i++;