Changeset 27845 for titan


Ignore:
Timestamp:
03/22/14 16:40:19 (8 years ago)
Author:
obi
Message:

fix

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/harddisk.h

    r27793 r27845  
    629629        if(node->size > 4294967295UL)
    630630        {       
    631                 if(!file_exist("/var/bin/parted") && !file_exist("/var/swap/bin/parted") && !file_exist("/mnt/swapextensions/bin/parted"))
     631                if(!file_exist("/var/bin/parted") && !file_exist("/var/swap/bin/parted") && !file_exist("/mnt/swapextensions/bin/parted") && !file_exist("/usr/sbin/parted"))
    632632                {
    633633                        textbox(_("Message"), _("HDD > 2TB unsupported.\nYou must first install plugin parted, then you can use this panel."), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 800, 200, 0, 0);
     
    729729                        if(textbox(_("Message"), _("use medium for extension"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 800, 200, 0, 0) == 1)
    730730                                ext = 1;
    731                         if(textbox(_("Message"), _("use medium for swap"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 800, 200, 0, 0) == 1)
     731                        if(textbox(_("Message"), _("use medium for swapfile"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 800, 200, 0, 0) == 1)
    732732                                swap = 1;
    733733                        if(textbox(_("Message"), _("use medium for backup"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 800, 200, 0, 0) == 1)
  • titan/titan/restoredefault.h

    r27740 r27845  
    6262
    6363        addmenulist(&mlist, _("Restore default settings"), NULL, NULL, 0, 0);
    64         addmenulist(&mlist, _("Format MNT with Backup/Restore"), NULL, NULL, 0, 0);
    65         addmenulist(&mlist, _("Format MNT (all)"), NULL, NULL, 0, 0);
     64        if(checkbox("ATEMIO5000") != 1 && checkbox("ATEMIO5200") != 1)
     65        {
     66                addmenulist(&mlist, _("Format MNT with Backup/Restore"), NULL, NULL, 0, 0);
     67                addmenulist(&mlist, _("Format MNT (all)"), NULL, NULL, 0, 0);
     68        }
    6669
    6770        mbox = menulistbox(mlist, NULL, _("Restore default settings"), _("Choose your Restore Mode from the following list."), NULL, NULL, 1, 0);
Note: See TracChangeset for help on using the changeset viewer.