summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/acpi.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 02:32:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 02:32:00 -0600
commit27f2cfdc57b75ea3994e31ad436464353d966cdd (patch)
tree0aab4fe14ca3ea9071b7a0d97529996e5bb35440 /klaptopdaemon/acpi.cpp
parent73dc36225d414b2108708fac11960774f74a3a8a (diff)
downloadtdeutils-27f2cfdc57b75ea3994e31ad436464353d966cdd.tar.gz
tdeutils-27f2cfdc57b75ea3994e31ad436464353d966cdd.zip
Additional kde to tde renaming
Diffstat (limited to 'klaptopdaemon/acpi.cpp')
-rw-r--r--klaptopdaemon/acpi.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/klaptopdaemon/acpi.cpp b/klaptopdaemon/acpi.cpp
index 3fc436a..44c1822 100644
--- a/klaptopdaemon/acpi.cpp
+++ b/klaptopdaemon/acpi.cpp
@@ -166,8 +166,8 @@ void AcpiConfig::setupHelper()
TQString helper = KStandardDirs::findExe("klaptop_acpi_helper");
checkcrc(TQFile::encodeName(helper), len, crc);
- TQString kdesu = KStandardDirs::findExe("kdesu");
- if (!kdesu.isEmpty()) {
+ TQString tdesu = KStandardDirs::findExe("tdesu");
+ if (!tdesu.isEmpty()) {
int rc = KMessageBox::warningContinueCancel(0,
i18n("You will need to supply a root password "
"to allow the privileges of the klaptop_acpi_helper to change."),
@@ -175,14 +175,14 @@ void AcpiConfig::setupHelper()
"");
if (rc == KMessageBox::Continue) {
KProcess proc;
- proc << kdesu;
+ proc << tdesu;
proc << "-u";
proc << "root";
proc << "dpkg-statoverride --update --add root root 6755 "+helper;
proc.start(KProcess::Block); // run it sync so has_acpi below sees the results
}
} else {
- KMessageBox::sorry(0, i18n("The ACPI helper cannot be enabled because kdesu cannot be found. Please make sure that it is installed correctly."),
+ KMessageBox::sorry(0, i18n("The ACPI helper cannot be enabled because tdesu cannot be found. Please make sure that it is installed correctly."),
i18n("KLaptopDaemon"));
}
laptop_portable::acpi_set_mask(enablestandby, enablesuspend, enablehibernate, enableperformance, enablethrottle);