$OpenBSD: patch-Alacarte_util_py,v 1.3 2008/12/20 14:28:38 ajacoutot Exp $
--- Alacarte/util.py.orig	Tue Oct  3 01:48:07 2006
+++ Alacarte/util.py	Mon May  7 21:12:13 2007
@@ -141,7 +141,7 @@ def getItemPath(file_id):
 			file_path = os.path.join(system_path, 'applications', file_id)
 			if os.path.isfile(file_path):
 				return file_path
-	file_path = os.path.join('/', 'usr', 'share', 'applications', file_id)
+	file_path = os.path.join('/', '${LOCALBASE}', 'share', 'gnome', 'applications', file_id)
 	if os.path.isfile(file_path):
 		return file_path
 	return False
@@ -166,7 +166,7 @@ def getDirectoryPath(file_id):
 			file_path = os.path.join(system_path, 'desktop-directories', file_id)
 			if os.path.isfile(file_path):
 				return file_path
-	file_path = os.path.join('/', 'usr', 'share', 'desktop-directories', file_id)
+	file_path = os.path.join('/', '${LOCALBASE}', 'share', 'gnome', 'desktop-directories', file_id)
 	if os.path.isfile(file_path):
 		return file_path
 	return False
@@ -187,7 +187,7 @@ def getSystemMenuPath(file_name):
 			file_path = os.path.join(system_path, 'menus', file_name)
 			if os.path.isfile(file_path):
 				return file_path
-	file_path = os.path.join('/', 'etc', 'xdg', 'menus', file_name)
+	file_path = os.path.join('/', '${SYSCONFDIR}', 'xdg', 'menus', file_name)
 	if os.path.isfile(file_path):
 		return file_path
 	return False
