Changeset 2220 in MondoRescue


Ignore:
Timestamp:
Jun 15, 2009, 9:27:21 PM (15 years ago)
Author:
Bruno Cornec
Message:

Allow the possibility to enter temp and scratch dir in the newt interface. Fixes #326.

File:
1 edited

Legend:

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

    r2214 r2220  
    19981998            finish(1);
    19991999        }
     2000        if (!popup_and_get_string
     2001            ("Temporary directory",
     2002             "Please enter your temporary directory.",
     2003             bkpinfo->tmpdir, (4*MAX_STR_LEN)-1)) {
     2004            log_to_screen("User has chosen not to backup the PC");
     2005            finish(1);
     2006        }
     2007        if (!popup_and_get_string
     2008            ("Scratch directory",
     2009             "Please enter your scratch directory.",
     2010             bkpinfo->scratchdir, (4*MAX_STR_LEN)-1)) {
     2011            log_to_screen("User has chosen not to backup the PC");
     2012            finish(1);
     2013        }
    20002014// Interactive mode:
    20012015#ifdef __IA64__
Note: See TracChangeset for help on using the changeset viewer.