From a2fdbfeb4e4618964b6b595f94302ee3d94836bf Mon Sep 17 00:00:00 2001 From: Youssef Adnan Date: Fri, 19 Feb 2016 23:12:44 +0200 Subject: [PATCH] Allow the user to set the GTK theme from enironment variable --- osx/Meld | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/osx/Meld b/osx/Meld index ad3d92df4..c764d93ce 100644 --- a/osx/Meld +++ b/osx/Meld @@ -1,8 +1,5 @@ #!/bin/sh -export GTK_THEME=Adwaita -#export GTK_THEME=Adwaita:dark - EXEC="exec" name="`basename $0`" @@ -87,4 +84,9 @@ if [ "x`echo "x$1" | sed -e "s/^x-psn_.*//"`" == "x" ]; then shift 1 fi +if test "$GTK_THEME" == ""; then + export GTK_THEME="Adwaita" + #export GTK_THEME=Adwaita:dark +fi + $EXEC "$bundle_contents/MacOS/Meld-bin" "$@"