mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
channellist: fix lock icon for default-locked bouquets
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3a222fb5f3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-12 (Thu, 12 Feb 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Jacek Jendrzej
parent
105b4dd9e8
commit
f400e72a63
@@ -2024,7 +2024,7 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
|
||||
void CChannelList::paintHead()
|
||||
{
|
||||
CComponentsHeader header(x, y, full_width, theight, name /*no header icon*/);
|
||||
if (bouquet && bouquet->zapitBouquet && bouquet->zapitBouquet->bLocked)
|
||||
if (bouquet && bouquet->zapitBouquet && bouquet->zapitBouquet->bLocked != g_settings.parentallock_defaultlocked)
|
||||
header.setIcon(NEUTRINO_ICON_LOCK);
|
||||
if (edit_state)
|
||||
header.setCaption(std::string(g_Locale->getText(LOCALE_CHANNELLIST_EDIT)) + ": " + name);
|
||||
|
Reference in New Issue
Block a user