Skip to content

Commit

Permalink
Allow the user to set the GTK theme from enironment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
yousseb committed Feb 19, 2016
1 parent a970602 commit a2fdbfe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions osx/Meld
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/sh

export GTK_THEME=Adwaita
#export GTK_THEME=Adwaita:dark

EXEC="exec"

name="`basename $0`"
Expand Down Expand Up @@ -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.