Ignore:
Timestamp:
03/05/14 08:33:02 (10 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
4f9718b, 65e10ad
Parents:
0ed0d02
Message:

Add a new "Classic Backup" dialog for customizing the home-dir archive and providing status updates while it is running.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/life-preserver/lp-gui/LPMain.cpp

    rec61e8e r109c737  
    2121  //Initialize the waitbox pointer 
    2222  waitBox = 0; 
     23  //Initialize the classic dialog pointer 
     24  classicDLG = 0; 
    2325  //Create the basic/advanced view options 
    2426  viewBasic = new QRadioButton(tr("Basic"), ui->menuView); 
     
    522524  QString user = act->text(); 
    523525  qDebug() << "Compress Home Dir:" << user; 
     526  //Start up the Classic Dialog 
     527  bool recreate = false; 
     528  if(classicDLG == 0){ recreate = true; } 
     529  if(recreate){ 
     530    classicDLG = new LPClassic(this); 
     531    classicDLG->setHomeDir("/usr/home/"+user); 
     532    classicDLG->show(); 
     533  }else if(!classicDLG->running){ 
     534    classicDLG->setHomeDir("/usr/home/"+user); //move to the alternate user dir 
     535  } 
     536  classicDLG->raise(); 
     537  classicDLG->show(); 
     538  /* 
    524539  //Prompt for the package name 
    525540  QString pkgName = user+"-"+QDateTime::currentDateTime().toString("yyyyMMdd-hhmm"); 
     
    538553    qDebug() << "Package created at:" << pkgPath; 
    539554    QMessageBox::information(this,tr("Package Success"), tr("The home directory package was successfully created.")+"\n\n"+pkgPath); 
    540   }        
     555  } 
     556  */ 
    541557} 
    542558 
Note: See TracChangeset for help on using the changeset viewer.