Changeset 24248 for titan/titan/scan.h


Ignore:
Timestamp:
10/12/13 19:49:59 (10 years ago)
Author:
nit
Message:

[titan] add other msg to scan if no channel found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/scan.h

    r24247 r24248  
    15951595                if(scantype != 3 && scaninfo.threadend == 1 && endmsgshow == 0)
    15961596                {
    1597                         textbox(_("Message"), _("Channel scan ended.\nYou can add all channel (green) or\neach and every (red) to the channellist."), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 800, 200, 0, 0);
     1597                        if(scaninfo.tvcount + scaninfo.radiocount + scaninfo.datacount == 0)
     1598                                textbox(_("Message"), _("Channel scan ended.\nNothing found."), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 800, 200, 0, 0);
     1599                        else
     1600                                textbox(_("Message"), _("Channel scan ended.\nYou can add all channel (green) or\neach and every (red) to the channellist."), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 800, 200, 0, 0);
    15981601                        endmsgshow = 1;         
    15991602                }
     
    16221625                        }
    16231626                        clearscreen(load);
    1624                         textbox(_("Message"), _("All new channels added!"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0);
     1627                        if(scaninfo.tvcount + scaninfo.radiocount + scaninfo.datacount == 0)
     1628                                textbox(_("Message"), _("Channel scan ended.\nNothing found."), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 800, 200, 0, 0);
     1629                        else
     1630                                textbox(_("Message"), _("All new channels added!"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0);
    16251631                }
    16261632
Note: See TracChangeset for help on using the changeset viewer.