Ticket #3243: conflictdisplay.patch
| File conflictdisplay.patch, 1.2 KB (added by , 19 years ago) |
|---|
-
mythtv/programs/mythfrontend/viewscheduled.cpp
416 416 LayerSet *container = theme->GetSet("conflict_info"); 417 417 if (container) 418 418 { 419 UITextType *type = (UITextType *)container->GetType("status"); 420 if (type) 419 UITextType *wtype = (UITextType *)container->GetType("warning"); 420 UITextType *stype = (UITextType *)container->GetType("status"); 421 422 /* if wtype doesn't exist in the theme, use stype instead */ 423 if (! wtype) 424 { 425 wtype = stype; 426 } 427 428 if (stype) 421 429 { 422 430 if (conflictBool) 423 type->SetText(tr("Time Conflict")); 431 { 432 stype->SetText(tr("")); 433 wtype->SetText(tr("Time Conflict")); 434 } 424 435 else 425 type->SetText(tr("No Conflicts")); 436 { 437 wtype->SetText(tr("")); 438 stype->SetText(tr("No Conflicts")); 439 } 426 440 } 427 441 } 428 442
