1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-15 00:09:15 -04:00
ports/devel/py-xdg/files/patch-xdg_Menu.py
Joe Marcus Clarke 29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +00:00

13 lines
386 B
Python

--- xdg/Menu.py.orig Thu Aug 11 07:37:48 2005
+++ xdg/Menu.py Sat Sep 2 05:10:19 2006
@@ -494,6 +494,10 @@
if not filename:
filename = __getFileName("applications.menu")
+ # use gnome if no filename given
+ if not filename:
+ filename = __getFileName("gnome-applications.menu")
+
if not filename:
raise ParsingError('File not found', "/etc/xdg/menus/applications.menu")