summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-11 11:24:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-11 11:24:40 +0900
commit6b70b67b4b2a867f228889cbb06dfff173d24e5d (patch)
tree7d77f7c612f1558554302f81c09a0dac46a0b2f8
parentb496ee27b9119a3cbf90b7b493fff499b8d66e7b (diff)
downloadtdebase-6b70b67b4b2a867f228889cbb06dfff173d24e5d.tar.gz
tdebase-6b70b67b4b2a867f228889cbb06dfff173d24e5d.zip
Use xdg-user-dirs to detect XDG variables instead of kxdglauncher. This relates to issue TDE/tdelibs#60.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kdesktop/init/My_Documents2
-rw-r--r--tdeioslave/system/entries/documents.desktop2
2 files changed, 2 insertions, 2 deletions
diff --git a/kdesktop/init/My_Documents b/kdesktop/init/My_Documents
index aca6c9c7d..c57b397a7 100644
--- a/kdesktop/init/My_Documents
+++ b/kdesktop/init/My_Documents
@@ -67,7 +67,7 @@ Comment[it]=Contiene i documenti personali
Comment[pl]=Zawiera dokumenty osobiste
Comment[ru]=Содержание личных документов
-URL=$( kxdglauncher --getpath --xdgname DOCUMENTS )
+URL=$XDG_DOCUMENTS_DIR
Type=Link
StartupNotify=true
Terminal=false
diff --git a/tdeioslave/system/entries/documents.desktop b/tdeioslave/system/entries/documents.desktop
index 901b217f0..c720f04e6 100644
--- a/tdeioslave/system/entries/documents.desktop
+++ b/tdeioslave/system/entries/documents.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Type=Link
-URL=$( kxdglauncher --getpath --xdgname DOCUMENTS )
+URL=$XDG_DOCUMENTS_DIR
Icon=folder_man
Name=Documents Folder
Name[af]=Dokument Gids