Changeset 34438 for titan/plugins/multiimage
- Timestamp:
- 06/01/15 15:03:06 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/multiimage/MultiImage.c
r34437 r34438 20 20 if(file_exist("/tmp/multiende") == 1) 21 21 { 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); 23 23 remove("/tmp/multiende"); 24 24 break; … … 390 390 if(rcret == getrcconfigint("rcred", NULL)) 391 391 { 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);393 392 path3 = ostrcat(path2, "/", 0, 0); 394 393 path3 = ostrcat(path3, imagename->ret, 1, 0); … … 396 395 { 397 396 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); 399 398 continue; 400 399 } 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); 402 401 iname = ostrcat(imagename->ret, NULL, 1, 0); 403 402 rc = 1; … … 424 423 free(cmd); cmd=NULL; 425 424 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); 427 426 428 427 Multi_Image_thread = addtimer(&multiimage_thread, START, 10000, 1, NULL, NULL, NULL); … … 459 458 if(ret == 2) 460 459 { 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); 461 461 imagefile = screendir("/tmp", "*.zip", NULL, NULL, NULL, NULL, 0, "SELECT", 0, NULL, 0, NULL, 0, 1200, 0, 600, 0, 0); 462 462 if(imagefile != NULL)
Note: See TracChangeset
for help on using the changeset viewer.