From d98757e12af4fa367bde2e6855d6c507f38aae61 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Tue, 28 Apr 2015 22:26:08 +0100 Subject: [PATCH] Fallback to .local for application edits. (cherry picked from commit https://bitbucket.org/ubuntu-mate/mate-menu/commits/3de5f1498b79814a6d973b98afc9a9b3e095c5cf) --- usr/lib/linuxmint/mintMenu/plugins/applications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/applications.py b/usr/lib/linuxmint/mintMenu/plugins/applications.py index 3b01bca..83f91e3 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/applications.py +++ b/usr/lib/linuxmint/mintMenu/plugins/applications.py @@ -115,7 +115,7 @@ def get_system_item_paths(): if os.environ.has_key('XDG_DATA_DIRS'): item_dirs = os.environ['XDG_DATA_DIRS'].split(":") else: - item_dirs = [os.path.join('usr', 'share')] + item_dirs = [os.path.join(os.environ['HOME'], '.local', 'share')] return item_dirs