Fix unintended rename of disklist

remotes/gitea/gg-tdeadmin-kcron
Timothy Pearson 12 years ago
parent d2811f2c1a
commit ab30808a02

@ -34,7 +34,7 @@
#include <stdlib.h>
#include <string.h>
StringList ptable::distdelist()
StringList ptable::disklist()
{
/* The basics behind scanning for a disk are simple: If it can be *
* opened, it exists. *
@ -121,7 +121,7 @@ StringList ptable::distdelist()
StringList ptable::partlist()
{
StringList s;
StringList d=distdelist();
StringList d=disklist();
for(StringList::const_iterator it=d.begin(); it!=d.end(); it++) {
for(int i=1; i<32; i++) {
String drive;

@ -33,9 +33,9 @@
#include <map>
class ptable {
public:
ptable(StringList const &disks=distdelist());
ptable(StringList const &disks=disklist());
ptable(String const &disk);
static StringList distdelist();
static StringList disklist();
static StringList partlist();
static String mountpoint(String const &device, bool fstab_fallback=false);
static String device(String const &mountpt, bool fstab_fallback=false);

@ -179,7 +179,7 @@ String const liloconf::liloOut()
bool liloconf::probe()
{
ptable p;
StringList drives=p.distdelist();
StringList drives=p.disklist();
String const root=p.device("/", true);
checked=false;
defaults.clear();

@ -45,7 +45,7 @@ General::General(liloconf *l, TQWidget *parent, const char *name):TQWidget(paren
TQLabel *drive_lbl=new TQLabel(_("Install &boot record to drive/partition:"), drv);
drive=new TQComboBox(false, drv);
drive_lbl->setBuddy(drive);
StringList p=ptable::distdelist();
StringList p=ptable::disklist();
p+=ptable::partlist();
p.sort();
for(StringList::const_iterator it=p.begin(); it!=p.end(); it++)

Loading…
Cancel
Save