summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authormjwybrow <mjwybrow@users.sourceforge.net>2009-07-19 23:44:16 +0000
committermjwybrow <mjwybrow@users.sourceforge.net>2009-07-19 23:44:16 +0000
commit4026c2fa028c8d1dbebd73dbd8829b78aac68766 (patch)
tree53e1c8d5b04fa118f19fc02bfe6227e71d913e31 /packaging
parentupdate (diff)
downloadinkscape-4026c2fa028c8d1dbebd73dbd8829b78aac68766.tar.gz
inkscape-4026c2fa028c8d1dbebd73dbd8829b78aac68766.zip
- Hide some warnings that occur if the AppleAquaColorVariant or
AppleHighlightColor preference values do not exist. (bzr r8307)
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh4
1 files 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