diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-06 02:32:00 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-06 02:32:00 -0600 |
commit | 27f2cfdc57b75ea3994e31ad436464353d966cdd (patch) | |
tree | 0aab4fe14ca3ea9071b7a0d97529996e5bb35440 /klaptopdaemon/sony.cpp | |
parent | 73dc36225d414b2108708fac11960774f74a3a8a (diff) | |
download | tdeutils-27f2cfdc57b75ea3994e31ad436464353d966cdd.tar.gz tdeutils-27f2cfdc57b75ea3994e31ad436464353d966cdd.zip |
Additional kde to tde renaming
Diffstat (limited to 'klaptopdaemon/sony.cpp')
-rw-r--r-- | klaptopdaemon/sony.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/klaptopdaemon/sony.cpp b/klaptopdaemon/sony.cpp index 497a566..689b9d0 100644 --- a/klaptopdaemon/sony.cpp +++ b/klaptopdaemon/sony.cpp @@ -107,8 +107,8 @@ SonyConfig::SonyConfig(TQWidget * parent, const char *name) void SonyConfig::setupHelper() { - 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 protections of /dev/sonypi to be changed."), @@ -116,14 +116,14 @@ void SonyConfig::setupHelper() ""); if (rc == KMessageBox::Continue) { KProcess proc; - proc << kdesu; + proc << tdesu; proc << "-u"; proc << "root"; proc << "chmod +r /dev/sonypi"; proc.start(KProcess::Block); // run it sync so has_acpi below sees the results } } else { - KMessageBox::sorry(0, i18n("The /dev/sonypi protections cannot be changed because kdesu cannot be found. Please make sure that it is installed correctly."), + KMessageBox::sorry(0, i18n("The /dev/sonypi protections cannot be changed because tdesu cannot be found. Please make sure that it is installed correctly."), i18n("KLaptopDaemon")); } bool enable = ::access("/dev/sonypi", R_OK) == 0; |