blob: 3ae1d74ba79dadcecc45c0b9d4c22a34fcd17e5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -Naur mate-menu-5.6.5a.orig/mate_menu/plugins/places.py mate-menu-5.6.5a/mate_menu/plugins/places.py
--- mate-menu-5.6.5a.orig/mate_menu/plugins/places.py 2015-11-07 08:22:02.506887000 +0100
+++ mate-menu-5.6.5a/mate_menu/plugins/places.py 2015-11-07 08:38:02.673847204 +0100
@@ -190,7 +190,7 @@
try:
from configobj import ConfigObj
config = ConfigObj(home + "/.config/user-dirs.dirs")
- tmpdesktopDir = config['XDG_DESKTOP_DIR']
+ tmpdesktopDir = config['XDG_DESKTOP_DIR'].replace("$HOME", home)
if os.path.exists(tmpdesktopDir):
desktopDir = tmpdesktopDir
except Exception, detail:
|