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-12 19:40:47 +0900
commita8cfd6c44dd15620b4f9004205a5059a88a511df (patch)
treed81da324ead5728339bfb2f72f5e4e35325065eb
parentaa8945861fdbe264a3faccf48200eeb1636c10a8 (diff)
downloadtdebase-a8cfd6c44dd15620b4f9004205a5059a88a511df.zip
tdebase-a8cfd6c44dd15620b4f9004205a5059a88a511df.tar.gz
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> (cherry picked from commit 6b70b67b4b2a867f228889cbb06dfff173d24e5d)
-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 aca6c9c..c57b397 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 901b217..c720f04 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