aboutsummaryrefslogtreecommitdiff
path: root/desktop/vala-panel-appmenu/vala-panel-appmenu.sh
diff options
context:
space:
mode:
authorIgor Krasylivskyi <tranzistor_2000 [at] ukr [dot] net>2017-12-22 13:44:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-22 13:44:46 +0700
commitc61a88fde797d3fd9257595fea46324052c91ef3 (patch)
treef19d5336ebe447baaccb75d7bd3cbbdfec7f85bb /desktop/vala-panel-appmenu/vala-panel-appmenu.sh
parent8e06901e68cda5edfdd5b2c6fea8f14a601f258d (diff)
desktop/vala-panel-appmenu: Added (Global Menu for Vala Panel).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/vala-panel-appmenu/vala-panel-appmenu.sh')
-rw-r--r--desktop/vala-panel-appmenu/vala-panel-appmenu.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/desktop/vala-panel-appmenu/vala-panel-appmenu.sh b/desktop/vala-panel-appmenu/vala-panel-appmenu.sh
new file mode 100644
index 000000000000..2782c4c2f86d
--- /dev/null
+++ b/desktop/vala-panel-appmenu/vala-panel-appmenu.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+if [ -n "$GTK_MODULES" ]; then
+ GTK_MODULES="${GTK_MODULES}:appmenu-gtk-module"
+else
+ GTK_MODULES="appmenu-gtk-module"
+fi
+
+if [ -z "$UBUNTU_MENUPROXY" ]; then
+ UBUNTU_MENUPROXY=1
+fi
+
+export GTK_MODULES
+export UBUNTU_MENUPROXY