From 077573d96bf2f190bdda1e7433099c663344d85a Mon Sep 17 00:00:00 2001 From: mjwybrow Date: Sun, 19 Jul 2009 23:44:16 +0000 Subject: [PATCH] - Hide some warnings that occur if the AppleAquaColorVariant or AppleHighlightColor preference values do not exist. --- .../Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh index f809e4c50..a44fb2f6a 100755 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh +++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh @@ -7,14 +7,14 @@ # # Appearance setting -aquaStyle=`defaults read "Apple Global Domain" AppleAquaColorVariant` +aquaStyle=`defaults read "Apple Global Domain" AppleAquaColorVariant 2>/dev/null` # 1 for aqua, 6 for graphite, inexistant if the default color was never changed if [[ "$aquaStyle" == "" ]]; then aquaStyle=1 # set aqua as default fi # Highlight Color setting -hiliColor=`defaults read "Apple Global Domain" AppleHighlightColor` +hiliColor=`defaults read "Apple Global Domain" AppleHighlightColor 2>/dev/null` # a RGB value, with components between 0 and 1, also inexistant if it was not changed if [[ "$hiliColor" == "" ]]; then hiliColor="0.709800 0.835300 1.000000" # set blue as default -- 2.30.2