--- simple-editor/GMenuSimpleEditor/menutreemodel.py.old	2010-06-30 11:08:06.747162123 +0200
+++ simple-editor/GMenuSimpleEditor/menutreemodel.py		2010-06-30 11:38:44.418403085 +0200
@@ -104,7 +104,11 @@
         self.icon_theme = gtk.icon_theme_get_default ()
 
         if (len (menu_files) < 1):
-            menu_files = ["applications.menu", "settings.menu"]
+            app_menu = "applications.menu"
+            if os.environ.has_key ("XDG_MENU_PREFIX"):
+                app_menu = os.environ["XDG_MENU_PREFIX"] + app_menu
+                
+            menu_files = [app_menu, "settings.menu"]
 
         for menu_file in menu_files:
             tree = gmenu.lookup_tree (menu_file, gmenu.FLAGS_INCLUDE_EXCLUDED)
