Ignore:
Timestamp:
06/01/15 15:03:06 (9 years ago)
Author:
Stephan
Message:

[multiimage] fix popup and remove unneeded exit buttons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/multiimage/MultiImage.c

    r34437 r34438  
    2020                if(file_exist("/tmp/multiende") == 1)
    2121                {
    22                         textbox(_("Message"), _("INFO\nImage extracted"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 500, 200, 0, 0);
     22                        textbox(_("Message"), _("INFO\nImage extracted"), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 500, 200, 0, 0);
    2323                        remove("/tmp/multiende");
    2424                        break;
     
    390390                if(rcret == getrcconfigint("rcred", NULL))
    391391                {
    392                         textbox("Message", _("The install process will look in /tmp for an image.\n Please copy the image to /tmp as zip file."), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 800, 200, 0, 0);                   
    393392                        path3 = ostrcat(path2, "/", 0, 0);
    394393                        path3 = ostrcat(path3, imagename->ret, 1, 0);
     
    396395                        {
    397396                                free(path3); path3=NULL;
    398                                 textbox(_("Message"), _("ERROR\nImage already present!"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 500, 200, 0, 0);
     397                                textbox(_("Message"), _("ERROR\nImage already present!"), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 500, 200, 0, 0);
    399398                                continue;
    400399                        }
    401                         textbox(_("Message"), _("INFO\nExtracting will take a few minutes ..."), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0);
     400                        textbox(_("Message"), _("INFO\nExtracting will take a few minutes ..."), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 600, 200, 0, 0);
    402401                        iname = ostrcat(imagename->ret, NULL, 1, 0);
    403402                        rc = 1;
     
    424423                free(cmd); cmd=NULL;
    425424                free(temp); temp=NULL;
    426                 textbox(_("Message"), _("INFO\nExtracting process is running in background.\nA message will be shown when finished."), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 250, 10, 0);
     425                textbox(_("Message"), _("INFO\nExtracting process is running in background.\nA message will be shown when finished."), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 600, 250, 10, 0);
    427426               
    428427                Multi_Image_thread = addtimer(&multiimage_thread, START, 10000, 1, NULL, NULL, NULL);
     
    459458                if(ret == 2)
    460459                {
     460                        textbox("Message", _("The install process will look in /tmp for an image.\n Please copy the image to /tmp as zip file."), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 800, 200, 0, 0);                                   
    461461                        imagefile = screendir("/tmp", "*.zip", NULL, NULL, NULL, NULL, 0, "SELECT", 0, NULL, 0, NULL, 0, 1200, 0, 600, 0, 0);
    462462                        if(imagefile != NULL)
Note: See TracChangeset for help on using the changeset viewer.