Changeset 2382 in MondoRescue for branches/2.2.10/mondo/src/common/newt-specific.c
- Timestamp:
- Sep 10, 2009, 2:07:16 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/newt-specific.c
r2377 r2382 20 20 #include "my-stuff.h" 21 21 #include "mr_mem.h" 22 #include "mr_str.h" 22 23 #include "mondostructures.h" 23 24 #include "newt-specific.h" … … 99 100 long g_start_time = 0L; ///< The time (in seconds since the epoch) that the progress form was opened. 100 101 bool g_text_mode = TRUE; ///< If FALSE, use a newt interface; if TRUE, use an ugly (but more compatible) dumb terminal interface. 101 char *g_selfmounted_isodir; ///< Holds the N FS mountpoint if mounted via mondoarchive.102 char *g_selfmounted_isodir; ///< Holds the NETFS mountpoint if mounted via mondoarchive. 102 103 103 104 /* @} - end of globalGroup */ … … 1106 1107 * Ask the user which backup media type they would like to use. 1107 1108 * The choices are @p none (exit to shell), @c cdr, @c cdrw, @c dvd, 1108 * @c tape, @c cdstream, @c udev (only when @p g_text_mode is TRUE), @c n fs,1109 * @c tape, @c cdstream, @c udev (only when @p g_text_mode is TRUE), @c netfs, 1109 1110 * and @c iso. 1110 1111 * @param restoring TRUE if we're restoring, FALSE if we're backing up. … … 1120 1121 char *title_sz = NULL; 1121 1122 char *minimsg_sz = NULL; 1122 static t_bkptype possible_bkptypes[] = { none, cdr, cdrw, dvd, tape, cdstream, udev, n fs, iso };1123 static char *possible_responses[] = { "none", "cdr", "cdrw", "dvd", "tape", "cdstream", "udev", "n fs", "iso", NULL };1123 static t_bkptype possible_bkptypes[] = { none, cdr, cdrw, dvd, tape, cdstream, udev, netfs, iso }; 1124 static char *possible_responses[] = { "none", "cdr", "cdrw", "dvd", "tape", "cdstream", "udev", "netfs", "iso", NULL }; 1124 1125 char *outstr = NULL; 1125 1126 t_bkptype backup_type; … … 1171 1172 b4 = newtButton(17, 5, "USB Key/Disk"); 1172 1173 b5 = newtButton(1, 5, " DVD disks "); 1173 b6 = newtButton(17, 9, " N FSmount ");1174 b6 = newtButton(17, 9, " Net mount "); 1174 1175 b7 = newtButton(1, 13, " Hard disk "); 1175 1176 b8 = newtButton(17, 13, " Exit "); … … 1191 1192 output = dvd; 1192 1193 } else if (b_res == b6) { 1193 output = n fs;1194 output = netfs; 1194 1195 } else if (b_res == b7) { 1195 1196 output = iso; … … 1453 1454 for (i = 0; i < filelist->entries; i++) { 1454 1455 keylist[i] = (void *) i; 1455 tmp = filelist_entry_to_string(&(filelist->el[i])) , keylist[i];1456 newtListboxAppendEntry(fileListbox, tmp );1456 tmp = filelist_entry_to_string(&(filelist->el[i])); 1457 newtListboxAppendEntry(fileListbox, tmp, keylist[i]); 1457 1458 mr_free(tmp); 1458 1459 }
Note:
See TracChangeset
for help on using the changeset viewer.