Updating branch refs/heads/master
to 56b2c90a9df572f968fb5a50b6337cc5a6f4a62c (commit)
from 628154e59e09b3dd16129304a1d450ac4824268b (commit)
commit 56b2c90a9df572f968fb5a50b6337cc5a6f4a62c
Author: Nick Schermer <[email protected]>
Date: Sat Mar 10 19:25:11 2012 +0100
Fallback to xfdesktop for xfce4-popup-applicationsmenu (bug #7365).
.../xfce4-popup-applicationsmenu.sh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/plugins/applicationsmenu/xfce4-popup-applicationsmenu.sh
b/plugins/applicationsmenu/xfce4-popup-applicationsmenu.sh
index f80e1af..c4b18b7 100644
--- a/plugins/applicationsmenu/xfce4-popup-applicationsmenu.sh
+++ b/plugins/applicationsmenu/xfce4-popup-applicationsmenu.sh
@@ -42,6 +42,7 @@ case "$1" in
;;
esac
-exec @bindir@/xfce4-panel --plugin-event=applicationsmenu:popup:bool:$ATPOINTER
+# try to open panel menu, if this fails try xfdesktop
+@bindir@/xfce4-panel --plugin-event=applicationsmenu:popup:bool:$ATPOINTER ||
xfdesktop --menu
# vim:set ts=2 sw=2 et ai:
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits