summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9156dfb)
raw | patch | inline | side by side (parent: 9156dfb)
author | jiho-sf <jiho-sf@users.sourceforge.net> | |
Wed, 5 Sep 2007 16:57:37 +0000 (16:57 +0000) | ||
committer | jiho-sf <jiho-sf@users.sourceforge.net> | |
Wed, 5 Sep 2007 16:57:37 +0000 (16:57 +0000) |
20 files changed:
diff --git a/Makefile.am b/Makefile.am
index b5b566bd2df1d8082ee3cba22cabeb3c962fa2ac..801c4d994b4212c7bde68106ebd633ceea2216fa 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
packaging/macosx/Resources/bin/getdisplay.sh \
packaging/macosx/Resources/bin/inkscape \
packaging/macosx/Resources/etc/fonts/fonts.conf \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/pre_gtkrc \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-down.png \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-left.png \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-right.png \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-up.png \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-vert.png \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/copy-slider.sh \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz-prelight.png \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz.png \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert-prelight.png \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert.png \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/copy-slider.sh \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz-prelight.png \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz.png \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert-prelight.png \
+ packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert.png \
packaging/macosx/ScriptExec/English.lproj/main.nib/classes.nib \
packaging/macosx/ScriptExec/English.lproj/main.nib/info.nib \
packaging/macosx/ScriptExec/English.lproj/main.nib/objects.xib \
index a97036ebc4598fb5bd69c0cf66dd53dcaef860c1..9b253bf59c706a07d689c6180869603fff29bf25 100755 (executable)
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 (file)
index 0000000..336ff0e
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-down.png differ
index 0000000..336ff0e
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-down.png 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 (file)
index 0000000..14f0b88
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-left.png differ
index 0000000..14f0b88
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-left.png 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 (file)
index 0000000..16feb73
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-right.png differ
index 0000000..16feb73
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-right.png 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 (file)
index 0000000..33825ef
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-up.png differ
index 0000000..33825ef
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-up.png 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 (file)
index 0000000..4e2954a
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png differ
index 0000000..4e2954a
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png 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 (file)
index 0000000..6d544c8
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-vert.png differ
index 0000000..6d544c8
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-vert.png 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
--- /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 (file)
index 0000000..38cc4b8
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz-prelight.png differ
index 0000000..38cc4b8
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz-prelight.png 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 (file)
index 0000000..38cc4b8
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz.png differ
index 0000000..38cc4b8
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz.png 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 (file)
index 0000000..d25f98e
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert-prelight.png differ
index 0000000..d25f98e
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert-prelight.png 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 (file)
index 0000000..d25f98e
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert.png differ
index 0000000..d25f98e
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert.png 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
--- /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 (file)
index 0000000..b48d039
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz-prelight.png differ
index 0000000..b48d039
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz-prelight.png 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 (file)
index 0000000..b48d039
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz.png differ
index 0000000..b48d039
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz.png 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 (file)
index 0000000..253b9bf
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert-prelight.png differ
index 0000000..253b9bf
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert-prelight.png 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 (file)
index 0000000..253b9bf
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert.png differ
index 0000000..253b9bf
Binary files /dev/null and b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert.png 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
--- /dev/null
@@ -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
--- /dev/null
@@ -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