summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorJiHO <jiho-sf@users.sourceforge.net>2007-09-05 16:57:37 +0000
committerjiho-sf <jiho-sf@users.sourceforge.net>2007-09-05 16:57:37 +0000
commit61926d67f1bf1a27b18798667843afdba6b42ab5 (patch)
treec762222665c9c10ff96eb10d41fa20719c615ab6 /packaging
parentdo not set value if widget is updating (diff)
downloadinkscape-61926d67f1bf1a27b18798667843afdba6b42ab5.tar.gz
inkscape-61926d67f1bf1a27b18798667843afdba6b42ab5.zip
added a default gtk theme for Inkscape on OS X. The shell script which runs Inkscape checks if ~/.gtkrc-2.0 does not already exists and if it does not it uses the theme. The theme has to be constructed first to reflect OS X appearance settings (this is done by sync_osx_look.sh).
(bzr r3683)
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/macosx/Resources/bin/inkscape9
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-down.pngbin0 -> 469 bytes
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-left.pngbin0 -> 1041 bytes
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-right.pngbin0 -> 1041 bytes
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-up.pngbin0 -> 467 bytes
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-horiz.pngbin0 -> 1250 bytes
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-vert.pngbin0 -> 1218 bytes
-rwxr-xr-xpackaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/copy-slider.sh7
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz-prelight.pngbin0 -> 6157 bytes
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz.pngbin0 -> 6157 bytes
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert-prelight.pngbin0 -> 5412 bytes
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert.pngbin0 -> 5412 bytes
-rwxr-xr-xpackaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/copy-slider.sh7
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz-prelight.pngbin0 -> 6111 bytes
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz.pngbin0 -> 6111 bytes
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert-prelight.pngbin0 -> 5425 bytes
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert.pngbin0 -> 5425 bytes
-rw-r--r--packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/pre_gtkrc500
-rwxr-xr-xpackaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh32
19 files changed, 555 insertions, 0 deletions
diff --git a/packaging/macosx/Resources/bin/inkscape b/packaging/macosx/Resources/bin/inkscape
index a97036ebc..9b253bf59 100755
--- a/packaging/macosx/Resources/bin/inkscape
+++ b/packaging/macosx/Resources/bin/inkscape
@@ -41,6 +41,15 @@ export INKSCAPE_SHAREDIR="$TOP"
export INKSCAPE_PLUGINDIR="$TOP/lib/inkscape"
export INKSCAPE_LOCALEDIR="$TOP/locale"
+# Set GTK theme (only if there is no .gtkrc-2.0 in the user's home)
+if [[ ! -e $HOME/.gtkrc-2.0 ]]; then
+ # prepare the theme depending on OS X appearance settings
+ cd "$INKSCAPE_SHAREDIR/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/"
+ ./sync_osx_look.sh
+ cd "$CWD"
+ export GTK2_RC_FILES="$INKSCAPE_SHAREDIR/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/gtkrc"
+fi
+
# TODO: Have to add ".UTF-8" to the LANG since ommiting causes Inkscape
# to crash on startup in locale_from_utf8().
export LANG="`grep \"\`defaults read .GlobalPreferences AppleCollationOrder \
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-down.png b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-down.png
new file mode 100644
index 000000000..336ff0efd
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-down.png
Binary files differ
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-left.png b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-left.png
new file mode 100644
index 000000000..14f0b8844
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-left.png
Binary files differ
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-right.png b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-right.png
new file mode 100644
index 000000000..16feb7348
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-right.png
Binary files differ
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-up.png b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-up.png
new file mode 100644
index 000000000..33825ef77
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-up.png
Binary files differ
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png
new file mode 100644
index 000000000..4e2954aca
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png
Binary files differ
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-vert.png b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-vert.png
new file mode 100644
index 000000000..6d544c8a7
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-vert.png
Binary files differ
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/copy-slider.sh b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/copy-slider.sh
new file mode 100755
index 000000000..020e059bd
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/copy-slider.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+cp -f slider-vert.png slider-vert-prelight.png
+cp -f slider-vert.png slider-horiz-prelight.png
+cp -f slider-vert.png slider-horiz.png
+convert -rotate 90 slider-horiz.png slider-horiz.png
+convert -rotate 90 slider-horiz-prelight.png slider-horiz-prelight.png \ No newline at end of file
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz-prelight.png b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz-prelight.png
new file mode 100644
index 000000000..38cc4b87e
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz-prelight.png
Binary files differ
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz.png b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz.png
new file mode 100644
index 000000000..38cc4b87e
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz.png
Binary files differ
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert-prelight.png b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert-prelight.png
new file mode 100644
index 000000000..d25f98e8f
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert-prelight.png
Binary files differ
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert.png b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert.png
new file mode 100644
index 000000000..d25f98e8f
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert.png
Binary files differ
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/copy-slider.sh b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/copy-slider.sh
new file mode 100755
index 000000000..020e059bd
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/copy-slider.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+cp -f slider-vert.png slider-vert-prelight.png
+cp -f slider-vert.png slider-horiz-prelight.png
+cp -f slider-vert.png slider-horiz.png
+convert -rotate 90 slider-horiz.png slider-horiz.png
+convert -rotate 90 slider-horiz-prelight.png slider-horiz-prelight.png \ No newline at end of file
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz-prelight.png b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz-prelight.png
new file mode 100644
index 000000000..b48d03949
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz-prelight.png
Binary files differ
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz.png b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz.png
new file mode 100644
index 000000000..b48d03949
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz.png
Binary files differ
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert-prelight.png b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert-prelight.png
new file mode 100644
index 000000000..253b9bfc8
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert-prelight.png
Binary files differ
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert.png b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert.png
new file mode 100644
index 000000000..253b9bfc8
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert.png
Binary files differ
diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/pre_gtkrc b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/pre_gtkrc
new file mode 100644
index 000000000..4231a44f1
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/pre_gtkrc
@@ -0,0 +1,500 @@
+#
+# GTK theme to be used on Mac OS X, to mimic the appearance of Tiger
+#
+# Heavily based on Clearlooks-Quicksilver
+# Scrollbars from OSX-theme by Lauri Taimila (lauri@taimila.com)
+#
+# (c) 2007 JiHO <jo.irisson@gmail.com>.
+# GNU General Public License http://www.gnu.org/copyleft/gpl.html
+#
+
+style "clearlooks-default"
+{
+ GtkButton ::default_border = { 0, 0, 0, 0 }
+ GtkRange ::trough_border = 0
+ GtkPaned ::handle_size = 6
+ GtkRange ::slider_width = 15
+ GtkRange ::stepper_size = 15
+ GtkScrollbar ::min_slider_length = 30
+ GtkCheckButton ::indicator_size = 12
+ GtkMenuBar ::internal-padding = 0
+ GtkTreeView ::expander_size = 14
+ GtkExpander ::expander_size = 16
+
+ xthickness = 1
+ ythickness = 1
+
+ fg[NORMAL] = "#000000" # black
+ fg[PRELIGHT] = "#000000" # black
+ fg[SELECTED] = "#ffffff" # white
+ fg[ACTIVE] = "#000000" # black
+ fg[INSENSITIVE] = {0.6, 0.6, 0.6} # dark gray
+
+ bg[NORMAL] = {0.95, 0.95, 0.95} # very light gray
+ bg[PRELIGHT] = "#ffffff" # white
+ bg[SELECTED] = OSX_MENU_COLOR_PLACEHOLDER # menu color
+ bg[INSENSITIVE] = {0.9, 0.9, 0.9} # light gray
+ bg[ACTIVE] = {0.85, 0.85, 0.85} # gray
+
+ base[NORMAL] = "#ffffff" # white
+ base[PRELIGHT] = OSX_MENU_COLOR_PLACEHOLDER # menu color
+ base[ACTIVE] = {0.6, 0.6, 0.6} # dark gray
+ base[SELECTED] = OSX_HILI_COLOR_PLACEHOLDER # highlight color
+ base[INSENSITIVE] = {0.9, 0.9, 0.9} # light gray
+
+ text[NORMAL] = "#000000" # black
+ text[PRELIGHT] = "#000000" # black
+ text[ACTIVE] = "#ffffff" # white
+ text[SELECTED] = "#ffffff" # white
+ text[INSENSITIVE] = {0.6, 0.6, 0.6} # dark gray
+
+ engine "clearlooks"
+ {
+ menubarstyle = 1 # 0 = flat, 1 = sunken, 2 = flat gradient
+ menuitemstyle = 0 # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button)
+ listviewitemstyle = 0 # 0 = flat, 1 = 3d-ish (gradient)
+ progressbarstyle = 0 # 0 = candy bar, 1 = flat
+ }
+}
+
+style "clearlooks-wide" = "clearlooks-default"
+{
+ xthickness = 2
+ ythickness = 2
+}
+
+style "clearlooks-button" = "clearlooks-default"
+{
+ xthickness = 3
+ ythickness = 3
+
+ bg[NORMAL] = "#f0f1f2" # a hint of blue...
+}
+
+style "clearlooks-notebook" = "clearlooks-wide"
+{
+ bg[NORMAL] = {0.93, 0.93, 0.93}
+ bg[INSENSITIVE] = {0.93, 0.93, 0.93}
+}
+
+style "clearlooks-tasklist" = "clearlooks-default"
+{
+ xthickness = 5
+ ythickness = 3
+}
+
+style "clearlooks-menu" = "clearlooks-default"
+{
+ xthickness = 2
+ ythickness = 1
+ bg[NORMAL] = "#ffffff"
+}
+
+style "clearlooks-menu-item" = "clearlooks-default"
+{
+ xthickness = 2
+ ythickness = 3
+ fg[PRELIGHT] = "#ffffff"
+ text[PRELIGHT] = "#ffffff"
+}
+
+style "clearlooks-menu-itembar" = "clearlooks-default"
+{
+ xthickness = 3
+ ythickness = 3
+}
+
+style "clearlooks-tree" = "clearlooks-default"
+{
+ xthickness = 2
+ ythickness = 2
+}
+
+style "clearlooks-frame-title" = "clearlooks-default"
+{
+ fg[NORMAL] = "#404040"
+}
+
+style "clearlooks-tooltips" = "clearlooks-default"
+{
+ xthickness = 4
+ ythickness = 4
+ bg[NORMAL] = { 1.0,1.0,0.75 }
+}
+
+style "clearlooks-progressbar" = "clearlooks-default"
+{
+ xthickness = 1
+ ythickness = 1
+
+ fg[PRELIGHT] = "#ffffff"
+}
+
+style "clearlooks-combo" = "clearlooks-default"
+{
+ xthickness = 2
+ ythickness = 3
+}
+
+# Added pixmaps for scollbars
+style "scrollbar" = "default"
+{
+ # The values I set here have to do with the relative size of three graphic elements
+ # I have used: the slider, the arrow box, and the trough. They all have the same width
+ # of 15 pixels, but gtk wants to put in some spacing between them. It seems like it
+ # places the sliders inside the trough with a default 1 pixel border on either side of the slider,
+ # so that the trough has its width stretched by an additional two pixels(?). Setting the
+ # trough border makes the arrow box sit on top of the trough squarely, by making sure that
+ # the trough stays the same width as the arrowbox(?). I could be totally wrong here.
+ GtkRange::trough_border = 0
+ GtkRange::slider_width = 15
+
+ # This sets the size of the steppers (arrow buttons on the end of the scrollbar).
+ # The image I am using is 15x15 pixels, and if I dont set this a one pixel line
+ # gets cut off of the top of the "up" stepper.
+ GtkRange::stepper_size = 15
+
+ # Set a minimum length for the slider. Since I set the border on the slider
+ # image to 15 pixels on either end of the slider I want the min length to be
+ # at least 30 pixels to avoid an ugly slider when gtk wants to make it smaller
+ # than 30 pixels.
+ GtkScrollbar::min_slider_length = 30
+
+ engine "pixmap"
+ {
+ # Horizontal slider background
+ image
+ {
+ function = BOX
+ recolorable = TRUE
+ detail = "trough"
+ file = "Scrollbars/trough-scrollbar-horiz.png"
+ border = { 30, 30, 0, 0 }
+ stretch = TRUE
+ orientation = HORIZONTAL
+ }
+
+ # Vertical slider background
+ image
+ {
+ function = BOX
+ recolorable = TRUE
+ detail = "trough"
+ file = "Scrollbars/trough-scrollbar-vert.png"
+ border = { 0, 0, 30, 30 }
+ stretch = TRUE
+ orientation = VERTICAL
+ }
+
+ # Normal horizontal slider
+ image
+ {
+ function = SLIDER
+ recolorable = TRUE
+ state = NORMAL
+ file = "Scrollbars_AQUASTYLE_PLACEHOLDER/slider-horiz.png"
+ border = { 15, 15, 6, 6 }
+ stretch = TRUE
+ orientation = HORIZONTAL
+ }
+
+ # Horizontal slider (active)
+ image
+ {
+ function = SLIDER
+ recolorable = TRUE
+ state = ACTIVE
+ file = "Scrollbars_AQUASTYLE_PLACEHOLDER/slider-horiz-prelight.png"
+ border = { 15, 15, 6, 6 }
+ stretch = TRUE
+ orientation = HORIZONTAL
+ }
+
+ # Horizontal slider (mouse over)
+ image
+ {
+ function = SLIDER
+ recolorable = TRUE
+ state = PRELIGHT
+ file = "Scrollbars_AQUASTYLE_PLACEHOLDER/slider-horiz-prelight.png"
+ border = { 15, 15, 6, 6 }
+ stretch = TRUE
+ orientation = HORIZONTAL
+ }
+
+ # Horizontal slider (Insesitive)
+ image
+ {
+ function = SLIDER
+ recolorable = TRUE
+ state = INSENSITIVE
+ file = "Scrollbars_AQUASTYLE_PLACEHOLDER/slider-horiz.png"
+ border = { 15, 15, 6, 6 }
+ stretch = TRUE
+ orientation = HORIZONTAL
+ }
+
+ # Normal vertical slider
+ image
+ {
+ function = SLIDER
+ recolorable = TRUE
+ state = NORMAL
+ file = "Scrollbars_AQUASTYLE_PLACEHOLDER/slider-vert.png"
+ border = { 6, 6, 15, 15 }
+ stretch = TRUE
+ orientation = VERTICAL
+ }
+
+ # Vertical slider (Active)
+ image
+ {
+ function = SLIDER
+ recolorable = TRUE
+ state = ACTIVE
+ file = "Scrollbars_AQUASTYLE_PLACEHOLDER/slider-vert.png"
+ border = { 6, 6, 15, 15 }
+ stretch = TRUE
+ orientation = VERTICAL
+ }
+
+ # Vertical slider (mouse over)
+ image
+ {
+ function = SLIDER
+ recolorable = TRUE
+ state = PRELIGHT
+ file = "Scrollbars_AQUASTYLE_PLACEHOLDER/slider-vert-prelight.png"
+ border = { 6, 6, 15, 15 }
+ stretch = TRUE
+ orientation = VERTICAL
+ }
+
+ # Vertical slider (Insesitive)
+ image
+ {
+ function = SLIDER
+ recolorable = TRUE
+ state = INSENSITIVE
+ file = "Scrollbars_AQUASTYLE_PLACEHOLDER/slider-vert-prelight.png"
+ border = { 6, 6, 15, 15 }
+ stretch = TRUE
+ orientation = VERTICAL
+ }
+
+################################################################################
+# SCROLLBAR STEPPERS
+################################################################################
+
+ # Up
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = NORMAL
+ file = "Scrollbars/stepper-up.png"
+ #border = { 12, 2, 2, 9 }
+ stretch = TRUE
+ arrow_direction = UP
+ }
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = PRELIGHT
+ file = "Scrollbars/stepper-up.png"
+ #border = { 12, 2, 2, 9 }
+ stretch = TRUE
+ arrow_direction = UP
+ }
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = ACTIVE
+ file = "Scrollbars/stepper-up.png"
+ #border = { 12, 2, 2, 9 }
+ stretch = TRUE
+ arrow_direction = UP
+ }
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = INSENSITIVE
+ file = "Scrollbars/stepper-up.png"
+ #border = { 12, 2, 2, 9 }
+ stretch = TRUE
+ arrow_direction = UP
+ }
+
+ ######### DOWN ############
+
+
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = NORMAL
+ file = "Scrollbars/stepper-down.png"
+ #border = { 12, 2, 10, 2 }
+ stretch = TRUE
+ arrow_direction = DOWN
+ }
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = PRELIGHT
+ file = "Scrollbars/stepper-down.png"
+ #border = { 12, 2, 10, 2 }
+ stretch = TRUE
+ arrow_direction = DOWN
+ }
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = ACTIVE
+ file = "Scrollbars/stepper-down.png"
+ #border = { 12, 2, 10, 2 }
+ stretch = TRUE
+ arrow_direction = DOWN
+ }
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = INSENSITIVE
+ file = "Scrollbars/stepper-down.png"
+ #border = { 12, 2, 10, 2 }
+ stretch = TRUE
+ arrow_direction = DOWN
+ }
+
+############ RIGHT ################
+
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = NORMAL
+ file = "Scrollbars/stepper-right.png"
+ #border = { 2, 9, 2, 13 }
+ stretch = TRUE
+ arrow_direction = RIGHT
+ }
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = PRELIGHT
+ file = "Scrollbars/stepper-right.png"
+ #border = { 2, 9, 2, 13 }
+ stretch = TRUE
+ arrow_direction = RIGHT
+ }
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = ACTIVE
+ file = "Scrollbars/stepper-right.png"
+ #border = { 2, 9, 2, 13 }
+ stretch = TRUE
+ arrow_direction = RIGHT
+ }
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = INSENSITIVE
+ file = "Scrollbars/stepper-right.png"
+ #border = { 2, 9, 2, 13 }
+ stretch = TRUE
+ arrow_direction = RIGHT
+ }
+
+############### LEFT ###################
+
+
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = NORMAL
+ file = "Scrollbars/stepper-left.png"
+ #border = { 2, 9, 2, 13 }
+ stretch = TRUE
+ arrow_direction = LEFT
+ }
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = PRELIGHT
+ file = "Scrollbars/stepper-left.png"
+ #border = { 2, 9, 2, 13 }
+ stretch = TRUE
+ arrow_direction = LEFT
+ }
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = ACTIVE
+ file = "Scrollbars/stepper-left.png"
+ #border = { 2, 9, 2, 13 }
+ stretch = TRUE
+ arrow_direction = LEFT
+ }
+ image
+ {
+ function = STEPPER
+ recolorable = TRUE
+ state = INSENSITIVE
+ file = "Scrollbars/stepper-left.png"
+ #border = { 2, 9, 2, 13 }
+ stretch = TRUE
+ arrow_direction = LEFT
+ }
+ }
+}
+
+# widget styles
+class "GtkWidget" style "clearlooks-default"
+class "GtkButton" style "clearlooks-button"
+class "GtkCombo" style "clearlooks-button"
+class "GtkRange" style "clearlooks-wide"
+class "GtkFrame" style "clearlooks-wide"
+class "GtkMenu" style "clearlooks-menu"
+class "GtkEntry" style "clearlooks-button"
+class "GtkMenuItem" style "clearlooks-menu-item"
+class "GtkStatusbar" style "clearlooks-wide"
+class "GtkNotebook" style "clearlooks-notebook"
+class "GtkProgressBar" style "clearlooks-progressbar"
+class "GtkScrollbar" style "scrollbar"
+
+widget_class "*MenuItem.*" style "clearlooks-menu-item"
+
+# combobox stuff
+widget_class "*.GtkComboBox.GtkButton" style "clearlooks-combo"
+widget_class "*.GtkCombo.GtkButton" style "clearlooks-combo"
+
+# tooltips stuff
+widget_class "*.tooltips.*.GtkToggleButton" style "clearlooks-tasklist"
+widget "gtk-tooltips" style "clearlooks-tooltips"
+
+# treeview stuff
+widget_class "*.GtkTreeView.GtkButton" style "clearlooks-tree"
+widget_class "*.GtkCTree.GtkButton" style "clearlooks-tree"
+widget_class "*.GtkList.GtkButton" style "clearlooks-tree"
+widget_class "*.GtkCList.GtkButton" style "clearlooks-tree"
+widget_class "*.GtkFrame.GtkLabel" style "clearlooks-frame-title"
+
+# notebook stuff
+widget_class "*.GtkNotebook.*.GtkEventBox" style "clearlooks-notebook"
+widget_class "*.GtkNotebook.*.GtkViewport" style "clearlooks-notebook"
+
+gtk-font-name="Lucida Grande 12"
+
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
new file mode 100755
index 000000000..b94ab67df
--- /dev/null
+++ b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# Reads defaults from Apple preferences and modifies GTK accordingly
+#
+# (c) 2007 JiHO <jo.irisson@gmail.com>
+# GNU General Public License http://www.gnu.org/copyleft/gpl.html
+#
+
+# Appearance setting
+aquaStyle=`defaults read "Apple Global Domain" AppleAquaColorVariant`
+# 1 for aqua, 6 for graphite
+
+# Highlight Color setting
+hiliColor=`defaults read "Apple Global Domain" AppleHighlightColor`
+# a RGB value, with components between 0 and 1
+
+# Menu items color
+if [[ aquaStyle -eq 1 ]]; then
+ menuColor="#4a76cd"
+else
+ menuColor="#7c8da4"
+fi
+# Format highlight color as a GTK rgb value
+hiliColorFormated=`echo $hiliColor | awk -F " " '{print "\\\{"$1","$2","$3"\\\}"}'`
+
+# echo $menuColor
+# echo $hiliColorFormated
+
+# Modify the gtkrc
+# - with the correct colors
+# - to point to the correct scrollbars folder
+sed 's/OSX_HILI_COLOR_PLACEHOLDER/'$hiliColorFormated'/g' pre_gtkrc | sed 's/OSX_MENU_COLOR_PLACEHOLDER/\"'$menuColor'\"/g' | sed 's/AQUASTYLE_PLACEHOLDER/'$aquaStyle'/g' > gtkrc