Respect $XDG_MENU_PREFIX when constructing the path to applications.menu

Fixes bug 683535.  Backport from the master branch.
---
 Alacarte/MenuEditor.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Alacarte/MenuEditor.py b/Alacarte/MenuEditor.py
index 73d25f5..3475d22 100644
--- a/Alacarte/MenuEditor.py
+++ b/Alacarte/MenuEditor.py
@@ -48,7 +48,7 @@ class Menu(object):
 
 class MenuEditor(object):
     def __init__(self):
-        self.applications = Menu('applications.menu')
+        self.applications = Menu(os.environ['XDG_MENU_PREFIX'] + 'applications.menu')
         self.applications.tree.connect('changed', self.menuChanged)
 
     def menuChanged(self, *a):
