Ticket #4031: ProgGuideIcons.patch
File ProgGuideIcons.patch, 1.9 KB (added by , 17 years ago) |
---|
-
libs/libmythtv/guidegrid.cpp
1146 1153 1147 1154 ChannelInfo *chinfo = &(m_channelInfos[m_currentStartChannel]); 1148 1155 1156 bool showChannelIcon = gContext->GetNumSetting("EPGShowChannelIcon", 0); 1157 1149 1158 for (unsigned int y = 0; y < (unsigned int)DISPLAY_CHANS; y++) 1150 1159 { 1151 1160 unsigned int chanNumber = y + m_currentStartChannel; … … 1158 1167 if ((y == (unsigned int)2 && scrolltype != 1) || 1159 1168 ((signed int)y == m_currentRow && scrolltype == 1)) 1160 1169 { 1161 if ( !chinfo->iconpath.isEmpty() && chinfo->iconpath != "none")1170 if (showChannelIcon && !chinfo->iconpath.isEmpty() && chinfo->iconpath != "none") 1162 1171 { 1163 1172 int iconsize = 0; 1164 1173 if (itype) … … 1186 1195 1187 1196 if (type) 1188 1197 { 1189 if ( !chinfo->iconpath.isEmpty() && chinfo->iconpath != "none")1198 if (showChannelIcon && !chinfo->iconpath.isEmpty() && chinfo->iconpath != "none") 1190 1199 { 1191 1200 int iconsize = 0; 1192 1201 iconsize = type->GetSize(); -
programs/mythfrontend/globalsettings.cpp
2847 2847 static HostCheckBox *EPGShowChannelIcon() 2848 2848 { 2849 2849 HostCheckBox *gc = new HostCheckBox("EPGShowChannelIcon"); 2850 gc->setLabel(QObject::tr("Display the channel icon")); 2850 gc->setLabel(QObject::tr("Display the channel icons")); 2851 gc->setHelpText(QObject::tr("Display the icons/logos for the channels " 2852 "in the guide. See section 9.5 of the " 2853 "Installation Guide for how to grab icons.")); 2851 2854 gc->setValue(true); 2852 2855 return gc; 2853 2856 }