Ignore:
Timestamp:
Mar 9, 2024, 3:31:21 PM (4 months ago)
Author:
Bruno Cornec
Message:

-c means now optical backup for CD/DVD. Removed dvd special mode -r

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/common/newt-specific.c

    r3874 r3881  
    12251225/**
    12261226 * Ask the user which backup media type they would like to use.
    1227  * The choices are @p none (exit to shell), @c cdr, @c dvd,
     1227 * The choices are @p none (exit to shell), @c optical,
    12281228 * @c tape, @c cdstream, @c udev (only when @p g_text_mode is TRUE), @c netfs,
    12291229 * and @c iso.
     
    12401240        char *title_sz = NULL;
    12411241        char *minimsg_sz = NULL;
    1242         static t_bkptype possible_bkptypes[] = { none, cdr, dvd, tape, cdstream, udev, netfs, iso };
    1243         static char *possible_responses[] = { "none", "cdr", "dvd", "tape", "cdstream", "udev", "netfs", "iso", NULL };
     1242        static t_bkptype possible_bkptypes[] = { none, optical, tape, cdstream, udev, netfs, iso };
     1243        static char *possible_responses[] = { "none", "optical", "tape", "cdstream", "udev", "netfs", "iso", NULL };
    12441244        char *outstr = NULL;
    12451245        char *instr = NULL;
     
    12481248
    12491249        newtComponent b1;
    1250         newtComponent b2;
    12511250        newtComponent b3;
    12521251        newtComponent b4;
    1253         newtComponent b5;
    12541252        newtComponent b6;
    12551253        newtComponent b7;
     
    12881286        newtPushHelpLine(title_sz);
    12891287        newtCenteredWindow(34, 17, minimsg_sz);
    1290         b1 = newtButton(1, 1, "CD-R disks ");
     1288        b1 = newtButton(1, 1, "Optical disks ");
    12911289        b3 = newtButton(1, 9, "Tape drive ");
    12921290        b4 = newtButton(17, 5, "USB Key/Disk");
    1293         b5 = newtButton(1, 5, " DVD disks ");
    12941291        b6 = newtButton(17, 9, " Net mount ");
    12951292        b7 = newtButton(1, 13, " Hard disk ");
    12961293        b8 = newtButton(17, 13, "    Exit   ");
    12971294        myForm = newtForm(NULL, NULL, 0);
    1298         newtFormAddComponents(myForm, b1, b5, b3, b7, b4, b6, b8, NULL);
     1295        newtFormAddComponents(myForm, b1, b3, b7, b4, b6, b8, NULL);
    12991296        b_res = newtRunForm(myForm);
    13001297        newtFormDestroy(myForm);
    13011298        newtPopWindow();
    13021299        if (b_res == b1) {
    1303             output = cdr;
     1300            output = optical;
    13041301        } else if (b_res == b3) {
    13051302            output = tape;
    13061303        } else if (b_res == b4) {
    13071304            output = usb;
    1308         } else if (b_res == b5) {
    1309             output = dvd;
    13101305        } else if (b_res == b6) {
    13111306            output = netfs;
Note: See TracChangeset for help on using the changeset viewer.