Changeset 15573
- Timestamp:
- 05/09/12 00:07:48 (11 years ago)
- Location:
- titan/titan
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/adjust.h
r14320 r15573 35 35 struct skin* screenanim = getscreennode(adjust, "screenanim"); 36 36 struct skin* screenanimspeed = getscreennode(adjust, "screenanimspeed"); 37 struct skin* channellistview = getscreennode(adjust, "channellistview"); 37 38 38 39 struct skin* tmp = NULL; … … 160 161 addchoicebox(screenanimspeed, "20", _("very slow")); 161 162 setchoiceboxselection(screenanimspeed, getconfig("screenanimspeed", NULL)); 163 164 addchoicebox(channellistview, "0", _("hidden")); 165 addchoicebox(channellistview, "1", _("deactive")); 166 setchoiceboxselection(channellistview, getconfig("channellistview", NULL)); 162 167 163 168 drawscreen(adjust, 0); … … 217 222 addconfigscreencheck("screenanimspeed", screenanimspeed, "1"); 218 223 status.screenanimspeed = getconfigint("screenanimspeed", NULL); 224 addconfigscreencheck("channellistview", channellistview, "0"); 225 status.channellistview = getconfigint("channellistview", NULL); 219 226 220 227 break; -
titan/titan/channellist.h
r15571 r15573 83 83 chnode->handle1 = (char*) tmpchannel; 84 84 if(mode == 0 && channelnottunable(tmpchannel) == 1) 85 chnode->hidden = YES; 86 // chnode->deaktivcol = deaktivcol; 85 { 86 if(status.channellistview == 0) 87 chnode->hidden = YES; 88 else 89 chnode->deaktivcol = deaktivcol; 87 90 } 88 91 } … … 121 124 chnode->handle1 = (char*) tmpbouquet; 122 125 if(mode == 0 && channelnottunable(tmpbouquet->channel) == 1) 123 chnode->hidden = YES; 124 // chnode->deaktivcol = deaktivcol; 126 { 127 if(status.channellistview == 0) 128 chnode->hidden = YES; 129 else 130 chnode->deaktivcol = deaktivcol; 131 } 125 132 126 133 if(status.showchanneltimeline == 1 && channeltimeline != status.skinerr) … … 168 175 chnode->handle1 = (char*) tmpchannel; 169 176 if(mode == 0 && channelnottunable(tmpchannel) == 1) 170 chnode->hidden = YES; 171 // chnode->deaktivcol = deaktivcol; 177 { 178 if(status.channellistview == 0) 179 chnode->hidden = YES; 180 else 181 chnode->deaktivcol = deaktivcol; 182 } 172 183 } 173 184 } … … 221 232 chnode->handle1 = (char*) tmpchannel; 222 233 if(mode == 0 && channelnottunable(tmpchannel) == 1) 223 chnode->hidden = YES; 224 // chnode->deaktivcol = deaktivcol; 234 { 235 if(status.channellistview == 0) 236 chnode->hidden = YES; 237 else 238 chnode->deaktivcol = deaktivcol; 239 } 225 240 } 226 241 } … … 304 319 chnode->handle1 = (char*) tmpchannel; 305 320 if(mode == 0 && channelnottunable(tmpchannel) == 1) 306 chnode->hidden = YES; 307 // chnode->deaktivcol = deaktivcol; 321 { 322 if(status.channellistview == 0) 323 chnode->hidden = YES; 324 else 325 chnode->deaktivcol = deaktivcol; 326 } 308 327 } 309 328 } -
titan/titan/struct.h
r15546 r15573 1070 1070 //time for next picmem timeout check 1071 1071 time_t picmemtimeout; 1072 //show not tunable channel hidden (0)) or deaktive (1) in channellist 1073 int channellistview; 1072 1074 } status; 1073 1075
Note: See TracChangeset
for help on using the changeset viewer.