diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-06-08 15:51:46 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-06-08 15:51:46 -0500 |
commit | 6ed1ea98db6b1b369e7561efcc2c666b810e5446 (patch) | |
tree | 69da6d265387965c04a9584547ec42d4d372717d /tdecore/kdesktopfile.cpp | |
parent | 09d01cacf80d21ad213e6520b35e7f06e9546a83 (diff) | |
download | tdelibs-6ed1ea98db6b1b369e7561efcc2c666b810e5446.tar.gz tdelibs-6ed1ea98db6b1b369e7561efcc2c666b810e5446.zip |
Update XDG information in support of bug report 892.
Diffstat (limited to 'tdecore/kdesktopfile.cpp')
-rw-r--r-- | tdecore/kdesktopfile.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tdecore/kdesktopfile.cpp b/tdecore/kdesktopfile.cpp index ac7fd250c..02dfb1d5f 100644 --- a/tdecore/kdesktopfile.cpp +++ b/tdecore/kdesktopfile.cpp @@ -272,7 +272,7 @@ bool KDesktopFile::hasDeviceType() const bool KDesktopFile::tryExec() const { - // Test for TryExec and "X-KDE-AuthorizeAction" + // Test for TryExec and "X-TDE-AuthorizeAction" TQString te = readPathEntry("TryExec"); if (!te.isEmpty()) { @@ -299,7 +299,7 @@ bool KDesktopFile::tryExec() const return false; } } - TQStringList list = readListEntry("X-KDE-AuthorizeAction"); + TQStringList list = readListEntry("X-TDE-AuthorizeAction"); if (kapp && !list.isEmpty()) { for(TQStringList::ConstIterator it = list.begin(); @@ -312,10 +312,10 @@ bool KDesktopFile::tryExec() const } // See also KService::username() - bool su = readBoolEntry("X-KDE-SubstituteUID"); + bool su = readBoolEntry("X-TDE-SubstituteUID"); if (su) { - TQString user = readEntry("X-KDE-Username"); + TQString user = readEntry("X-TDE-Username"); if (user.isEmpty()) user = ::getenv("ADMIN_ACCOUNT"); if (user.isEmpty()) |