Changeset 25582 for titan/titan


Ignore:
Timestamp:
01/10/14 12:01:12 (10 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/titan.c

    r25581 r25582  
    843843                addconfig("firststart", "0");
    844844        }
     845
     846        if(checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1)
     847        {
     848                struct menulist* mlist = NULL, *mbox = NULL;
     849                addmenulist(&mlist, "RemoteControl Old Version", "0", NULL, 0, 0);
     850                addmenulist(&mlist, "RemoteControl Long Version", "1", NULL, 0, 0);
    845851               
     852                mbox = menulistbox(mlist, "remotecontrol", "Select Your Remote Control", NULL, NULL, 3, 0);
     853                if(mbox != NULL)
     854                {
     855                        debug(10, "mbox->name %s", mbox->name);
     856                        debug(10, "mbox->text %s", mbox->text);
     857                        addconfig("remotecontrol", mbox->text);
     858                        writeallconfig(1);                             
     859                }
     860        }
     861                       
    846862        //first wizzard
    847863        if(getconfigint("nofirstwizzard", NULL) < 2)
     
    854870
    855871                autoresolution();
    856 
     872                       
    857873                if(getconfigint("nofirstwizzard", NULL) == 0)
    858874                {
     
    867883//                      resettvpic();
    868884
    869                         if(checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1)
     885                        screentunerconfig();
     886                        resettvpic();
     887                        screenscanconfig(1);
     888                        resettvpic();
     889//                      screennetwork_adapter();
     890//                      resettvpic();
     891                        writevfd("Setting OK ?");
     892                        if(textbox(_("First Wizzard"), _("Settings OK ?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0) == 2)
    870893                        {
    871                                 struct menulist* mlist = NULL, *mbox = NULL;
    872                                 addmenulist(&mlist, "RemoteControl Old Version", "1", NULL, 0, 0);
    873                                 addmenulist(&mlist, "RemoteControl Long Version", "0", NULL, 0, 0);
    874                                
    875         //                      mbox = menulistbox(mlist, "playlistmenu", NULL, "%pluginpath%/mc/skin", NULL, 1, 0);
    876                                 mbox = menulistbox(mlist, "remotecontrol", "Select Your Remote Control", NULL, NULL, 3, 0);
    877                                 if(mbox != NULL)
    878                                 {
    879                                         debug(10, "mbox->name %s", mbox->name);
    880                                         debug(10, "mbox->text %s", mbox->text);
    881                                         addconfig("remotecontrol", mbox->text);
    882                                         writeallconfig(1);                             
    883                                 }
     894                                goto firstwizzardstep1;
    884895                        }
    885                         else
    886                         {
    887                                 screentunerconfig();
    888                                 resettvpic();
    889                                 screenscanconfig(1);
    890                                 resettvpic();
    891         //                      screennetwork_adapter();
    892         //                      resettvpic();
    893                                 writevfd("Setting OK ?");
    894                                 if(textbox(_("First Wizzard"), _("Settings OK ?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0) == 2)
    895                                 {
    896                                         goto firstwizzardstep1;
    897                                 }
    898                         }
    899                         resettvpic();
    900                 }
     896                }
     897                resettvpic();
    901898
    902899                char* msg = NULL;
Note: See TracChangeset for help on using the changeset viewer.