summaryrefslogtreecommitdiffstats
path: root/tdecore/tdeconfigbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tdeconfigbase.cpp')
-rw-r--r--tdecore/tdeconfigbase.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tdecore/tdeconfigbase.cpp b/tdecore/tdeconfigbase.cpp
index c86b189bd..9bca7145d 100644
--- a/tdecore/tdeconfigbase.cpp
+++ b/tdecore/tdeconfigbase.cpp
@@ -321,6 +321,12 @@ TQString TDEConfigBase::readEntry( const char *pKey,
else if (aVarName == "XDG_PICTURES_DIR") {
result = TDEGlobalSettings::picturesPath();
}
+ else if (aVarName == "XDG_PUBLICSHARE_DIR") {
+ result = TDEGlobalSettings::publicSharePath();
+ }
+ else if (aVarName == "XDG_TEMPLATES_DIR") {
+ result = TDEGlobalSettings::templatesPath();
+ }
else if (aVarName == "XDG_VIDEOS_DIR") {
result = TDEGlobalSettings::videosPath();
}