Comment 7 for bug 932860

Revision history for this message
Steve Langasek (vorlon) wrote :

--- appmenu-gtk-0.3.92.orig/80appmenu.in
+++ appmenu-gtk-0.3.92/80appmenu.in
@@ -1,4 +1 @@
-if [ -f @moduledir@/libappmenu.so ]
-then
- export UBUNTU_MENUPROXY="libappmenu.so"
-fi
+export UBUNTU_MENUPROXY="libappmenu.so"

This is a deliberate check, to ensure that UBUNTU_MENUPROXY isn't set when appmenu-gtk is removed but not purged (since /etc/X11/Xsession.d/80appmenu will then exist on the system, but libappmenu.so will not). Is this a safe change to make? UBUNTU_MENUPROXY is read by gtk, and I'm not sure what gtk does if the variable is set but pointing at a non-existent .so.