*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 is contained in:
thilo
2011-10-06 10:28:30 +00:00
parent 527c448068
commit 3b6eccb0bf

View File

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