Ignore:
Timestamp:
10/15/13 13:01:25 (10 years ago)
Author:
obi
Message:

[tithek] fix internet radio screensaver and optimize site textbox tpk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/extensions.h

    r24170 r24325  
    218218                                        tmpinfo = ostrcat(tmpinfo, " ?", 1, 0);
    219219               
    220                                         if(textbox(_("Tpk Install Info"), _(tmpinfo), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 800, 200, 0, 0) == 1)
     220                                        if(textbox(_("Tpk Install Info"), _(tmpinfo), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 200, 0, 0) == 1)
    221221                                        {
    222222                                                drawscreen(load, 0, 0);
     
    292292                                if(file_exist("/tmp/.tpk_needs_reboot"))
    293293                                {
    294                                         textbox(_("Message"), _("TPK Remove done, your system will reboot !"), "EXIT", getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, NULL, 0, 600, 200, 0, 0);
     294                                        textbox(_("Message"), _("TPK Remove done, your system will reboot !"), "EXIT", getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, NULL, 0, 800, 200, 0, 0);
    295295                                        system("init 6");
    296296                                }
     
    345345                                tmpinfo = ostrcat(tmpinfo, " ?", 1, 0);
    346346       
    347                                 if(textbox(_(text2), _(tmpinfo), "EXIT", getrcconfigint("rcexit", NULL), "OK", getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, 800, 200, 0, 0) == 2)
     347                                if(textbox(_(text2), _(tmpinfo), "EXIT", getrcconfigint("rcexit", NULL), "OK", getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, 1000, 200, 0, 0) == 2)
    348348                                {
    349349                                        char* log = NULL;
     
    370370                                        if(ret != 0) log = gettpklog(installpath, 1);
    371371                                        if(ret == 0) log = gettpklog(installpath, 0);
    372                                         textbox(_(text2), log, "EXIT", getrcconfigint("rcexit", NULL), "OK", getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, 800, 600, 0, 0);
     372                                        textbox(_(text2), log, "EXIT", getrcconfigint("rcexit", NULL), "OK", getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, 1000, 600, 0, 0);
    373373                                        free(log); log = NULL;
    374374                                        unlink(TPKLOG);
    375                                         textbox(_("Message"), _("Some plugins needs restart.\nIf the plugin is not active\nreboot the box."), "EXIT", getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, NULL, 0, 600, 200, 0, 0);
     375                                        textbox(_("Message"), _("Some plugins needs restart.\nIf the plugin is not active\nreboot the box."), "EXIT", getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, NULL, 0, 1000, 200, 0, 0);
    376376                                        loadplugin();
    377377                                        if(file_exist("/tmp/.tpk_needs_reboot"))
Note: See TracChangeset for help on using the changeset viewer.