Permalink
Browse files

Allow the user to set the GTK theme from enironment variable

  • Loading branch information...
1 parent a970602 commit a2fdbfeb4e4618964b6b595f94302ee3d94836bf @yousseb committed Feb 19, 2016
Showing with 5 additions and 3 deletions.
  1. +5 −3 osx/Meld
View
@@ -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" "$@"

0 comments on commit a2fdbfe

Please sign in to comment.