Ticket #4053: svn_head-busy_tuner.diff
File svn_head-busy_tuner.diff, 1.6 KB (added by , 17 years ago) |
---|
-
libs/libmythtv/tv_play.cpp
2535 2535 { 2536 2536 lockTimerOn = false; 2537 2537 } 2538 else if (dialogname == "infobox") 2539 { 2540 int result = GetOSD()->GetDialogResponse(dialogname); 2538 2541 2542 if (result == 1) 2543 { 2544 gContext->GetMainWindow()->JumpTo("TV Recording Playback"); 2545 } 2546 } 2539 2547 while (GetOSD()->DialogShowing(dialogname)) 2540 2548 { 2541 2549 usleep(1000); … … 7306 7314 else if (GetOSD()) 7307 7315 { 7308 7316 dialogname = "infobox"; 7309 QStringList options("OK"); 7310 GetOSD()->NewDialogBox(dialogname, errorText, options, 0); 7317 QStringList options; 7318 options += tr("Return to Main Menu"); 7319 options += tr("View Recordings"); 7320 GetOSD()->NewDialogBox(dialogname, errorText, options, 0, 0); 7311 7321 } 7312 7322 else 7313 7323 { 7314 MythPopupBox::showOkPopup( 7315 gContext->GetMainWindow(), QObject::tr("Channel Change Error"), 7316 errorText); 7324 int result = MythPopupBox::show2ButtonPopup( 7325 gContext->GetMainWindow(), QObject::tr("Channel Change Error"), 7326 errorText, 7327 tr("Return to Main Menu"), 7328 tr("View Recordings"), 7329 1); 7330 if (result == 1) { 7331 gContext->GetMainWindow()->JumpTo("TV Recording Playback"); 7332 } 7317 7333 } 7318 7334 } 7319 7335