openbsd-ports/x11/xfce4/xfce-utils/patches/patch-scripts_startxfce4_in
landry ffe06e820d Set XDG_MENU_PREFIX in startxfce4 to 'xfce-', for a better compliance with
fd.o menu spec. Prompted by & after discussion with aja@.
Also reported upstream as http://bugzilla.xfce.org/show_bug.cgi?id=5980
2009-11-14 16:43:27 +00:00

18 lines
504 B
Plaintext

$OpenBSD: patch-scripts_startxfce4_in,v 1.1 2009/11/14 16:43:27 landry Exp $
set XDG_MENU_PREFIX to xfce- so that applications looking
for the xfce xdg-compliant menu have another chance to find it.
--- scripts/startxfce4.in.orig Sat Nov 14 14:24:41 2009
+++ scripts/startxfce4.in Sat Nov 14 14:25:10 2009
@@ -34,6 +34,11 @@ else
fi
export XDG_DATA_DIRS
+if test "x$XDG_MENU_PREFIX" = "x"
+then
+ export XDG_MENU_PREFIX="xfce-"
+fi
+
if test "x$DISPLAY" = "x"
then
echo "$0: Starting X server"