Changeset 2881 in MondoRescue


Ignore:
Timestamp:
Oct 6, 2011, 1:34:27 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Initialize some global fields with an empty string, now that newt Draws more regularly progress forms
  • Mindi progression still not good, but showing now 3% when calling mindi. Would need a specific handling for the progress bar to evolve more afterwards.
Location:
branches/2.2.9/mondo/src/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-archive.c

    r2868 r2881  
    543543    mvaddstr_and_log_it(g_currentY, 0,
    544544                        "Calling MINDI to create boot+data disks");
     545    open_evalcall_form("Calling MINDI to create boot+data disks");
    545546    mr_asprintf(&tmp, "%s/filelist.full", bkpinfo->tmpdir);
    546547    if (!does_file_exist(tmp)) {
     
    609610    }
    610611
     612    update_evalcall_form(2);
    611613    if (!bkpinfo->nonbootable_backup
    612614        && (bkpinfo->boot_loader == '\0'
     
    857859    paranoid_free(command);
    858860    log_msg(1, "lines_in_filelist = %ld", lines_in_filelist);
     861    update_evalcall_form(3);
    859862
    860863/*     "mindi --custom 2=%s 3=%s/images 4=\"%s\" 5=\"%s\" \
     
    901904//  popup_and_OK("Pausing");
    902905
    903     res = run_program_and_log_to_screen(command, "Generating boot+data disks");
     906    res = run_program_and_log_output(command, "Generating boot+data disks");
     907    update_evalcall_form(99);
    904908    paranoid_free(command);
    905909
     
    953957        mr_free(tmp);
    954958    }
     959    close_evalcall_form();
    955960    return (res);
    956961}
  • branches/2.2.9/mondo/src/common/newt-specific.c

    r2879 r2881  
    638638            newtCenteredWindow(40, 7, title);
    639639            g_isoform_main = newtForm(NULL, NULL, 0);
    640             g_isoform_timeline = newtLabel(1, 5, "This is the timeline");
    641             g_isoform_pcline = newtLabel(1, 6, "This is the pcline");
     640            g_isoform_timeline = newtLabel(1, 5, "                    ");
     641            g_isoform_pcline = newtLabel(1, 6, "                  ");
    642642            newtFormAddComponents(g_isoform_main, g_isoform_timeline,
    643643                                  g_isoform_pcline, g_isoform_header,
Note: See TracChangeset for help on using the changeset viewer.