diff options
Diffstat (limited to 'packaging/macosx/Resources')
32 files changed, 0 insertions, 1570 deletions
diff --git a/packaging/macosx/Resources/MenuBar.nib/classes.nib b/packaging/macosx/Resources/MenuBar.nib/classes.nib deleted file mode 100644 index ea58db1189..0000000000 --- a/packaging/macosx/Resources/MenuBar.nib/classes.nib +++ /dev/null @@ -1,4 +0,0 @@ -{ -IBClasses = (); -IBVersion = 1; -} diff --git a/packaging/macosx/Resources/MenuBar.nib/info.nib b/packaging/macosx/Resources/MenuBar.nib/info.nib deleted file mode 100644 index 4c42cc89b3..0000000000 --- a/packaging/macosx/Resources/MenuBar.nib/info.nib +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<!-- $Id$ --> -<plist version="1.0"> -<dict> - <key>IBDocumentLocation</key> - <string>99 362 356 240 0 0 1280 832 </string> - <key>IBEditorPositions</key> - <dict> - <key>187</key> - <string>340 374 240 44 0 0 1280 832 </string> - </dict> - <key>IBFramework Version</key> - <string>349.0</string> - <key>IBOpenObjects</key> - <array> - <integer>187</integer> - </array> - <key>IBSystem Version</key> - <string>7F44</string> - <key>targetFramework</key> - <string>IBCarbonFramework</string> -</dict> -</plist> diff --git a/packaging/macosx/Resources/MenuBar.nib/objects.xib b/packaging/macosx/Resources/MenuBar.nib/objects.xib deleted file mode 100644 index 2f61c2e1ee..0000000000 --- a/packaging/macosx/Resources/MenuBar.nib/objects.xib +++ /dev/null @@ -1,74 +0,0 @@ -<?xml version="1.0" standalone="yes"?> -<!-- $Id$ --> -<object class="NSIBObjectData"> - <string name="targetFramework">IBCarbonFramework</string> - <object name="rootObject" class="NSCustomObject" id="1"> - <string name="customClass">NSApplication</string> - </object> - <array count="4" name="allObjects"> - <object class="IBCarbonMenu" id="187"> - <string name="title">MenuBar</string> - <array count="1" name="items"> - <object class="IBCarbonMenuItem" id="195"> - <string name="title">ScriptExec</string> - <object name="submenu" class="IBCarbonMenu" id="193"> - <string name="title">ScriptExec</string> - <string name="name">_NSAppleMenu</string> - </object> - </object> - </array> - <string name="name">_NSMainMenu</string> - </object> - <reference idRef="193"/> - <reference idRef="195"/> - <object class="IBCarbonMenuItem" id="204"> - <string name="title">Window</string> - <object name="submenu" class="IBCarbonMenu"> - <string name="title">Window</string> - <array count="5" name="items"> - <object class="IBCarbonMenuItem"> - <boolean name="dynamic">TRUE</boolean> - <string name="title">Minimize Window</string> - <string name="keyEquivalent">m</string> - <ostype name="command">mini</ostype> - </object> - <object class="IBCarbonMenuItem"> - <boolean name="dynamic">TRUE</boolean> - <string name="title">Minimize All Windows</string> - <string name="keyEquivalent">m</string> - <int name="keyEquivalentModifier">1572864</int> - <ostype name="command">mini</ostype> - </object> - <object class="IBCarbonMenuItem"> - <boolean name="separator">TRUE</boolean> - </object> - <object class="IBCarbonMenuItem"> - <boolean name="dynamic">TRUE</boolean> - <string name="title">Bring All to Front</string> - <ostype name="command">frnt</ostype> - </object> - <object class="IBCarbonMenuItem"> - <boolean name="dynamic">TRUE</boolean> - <string name="title">Bring in Front</string> - <int name="keyEquivalentModifier">1572864</int> - <ostype name="command">frnt</ostype> - </object> - </array> - <string name="name">_NSWindowsMenu</string> - </object> - </object> - </array> - <array count="4" name="allParents"> - <reference idRef="1"/> - <reference idRef="195"/> - <reference idRef="187"/> - <reference idRef="187"/> - </array> - <dictionary count="2" name="nameTable"> - <string>File's Owner</string> - <reference idRef="1"/> - <string>MenuBar</string> - <reference idRef="187"/> - </dictionary> - <unsigned_int name="nextObjectID">206</unsigned_int> -</object> diff --git a/packaging/macosx/Resources/ProgressWindow.nib/classes.nib b/packaging/macosx/Resources/ProgressWindow.nib/classes.nib deleted file mode 100644 index ea58db1189..0000000000 --- a/packaging/macosx/Resources/ProgressWindow.nib/classes.nib +++ /dev/null @@ -1,4 +0,0 @@ -{ -IBClasses = (); -IBVersion = 1; -} diff --git a/packaging/macosx/Resources/ProgressWindow.nib/info.nib b/packaging/macosx/Resources/ProgressWindow.nib/info.nib deleted file mode 100644 index 94a06b09bc..0000000000 --- a/packaging/macosx/Resources/ProgressWindow.nib/info.nib +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<!-- $Id$ --> -<plist version="1.0"> -<dict> - <key>IBDocumentLocation</key> - <string>124 298 356 240 0 0 1280 832 </string> - <key>IBFramework Version</key> - <string>349.0</string> - <key>IBOpenObjects</key> - <array> - <integer>180</integer> - </array> - <key>IBSystem Version</key> - <string>7F44</string> - <key>targetFramework</key> - <string>IBCarbonFramework</string> -</dict> -</plist> diff --git a/packaging/macosx/Resources/ProgressWindow.nib/objects.xib b/packaging/macosx/Resources/ProgressWindow.nib/objects.xib deleted file mode 100644 index a1ad8952c4..0000000000 --- a/packaging/macosx/Resources/ProgressWindow.nib/objects.xib +++ /dev/null @@ -1,54 +0,0 @@ -<?xml version="1.0" standalone="yes"?> -<!-- $Id$ --> -<object class="NSIBObjectData"> - <string name="targetFramework">IBCarbonFramework</string> - <object name="rootObject" class="NSCustomObject" id="1"> - <string name="customClass">NSApplication</string> - </object> - <array count="4" name="allObjects"> - <object class="IBCarbonWindow" id="180"> - <string name="windowRect">404 523 457 899 </string> - <string name="title">Caching Fonts...</string> - <object name="rootControl" class="IBCarbonRootControl" id="183"> - <string name="bounds">0 0 53 376 </string> - <array count="2" name="subviews"> - <object class="IBCarbonProgressBar" id="181"> - <string name="bounds">19 17 32 270 </string> - <boolean name="small">TRUE</boolean> - <int name="controlSize">1</int> - <int name="initialValue">50</int> - </object> - <object class="IBCarbonButton" id="185"> - <string name="bounds">16 284 34 356 </string> - <boolean name="small">TRUE</boolean> - <int name="controlSize">1</int> - <string name="title">Cancel</string> - <ostype name="command">quit</ostype> - </object> - </array> - </object> - <boolean name="hasCloseBox">FALSE</boolean> - <boolean name="hasHorizontalZoom">FALSE</boolean> - <boolean name="isResizable">FALSE</boolean> - <boolean name="hasVerticalZoom">FALSE</boolean> - <int name="themeBrush">51</int> - <int name="windowPosition">1</int> - </object> - <reference idRef="181"/> - <reference idRef="183"/> - <reference idRef="185"/> - </array> - <array count="4" name="allParents"> - <reference idRef="1"/> - <reference idRef="183"/> - <reference idRef="180"/> - <reference idRef="183"/> - </array> - <dictionary count="2" name="nameTable"> - <string>File's Owner</string> - <reference idRef="1"/> - <string>Window</string> - <reference idRef="180"/> - </dictionary> - <unsigned_int name="nextObjectID">186</unsigned_int> -</object> diff --git a/packaging/macosx/Resources/Wireshark.icns b/packaging/macosx/Resources/Wireshark.icns Binary files differdeleted file mode 100644 index 21dcd6c0a1..0000000000 --- a/packaging/macosx/Resources/Wireshark.icns +++ /dev/null diff --git a/packaging/macosx/Resources/Wiresharkdoc.icns b/packaging/macosx/Resources/Wiresharkdoc.icns Binary files differdeleted file mode 100644 index fb66002996..0000000000 --- a/packaging/macosx/Resources/Wiresharkdoc.icns +++ /dev/null diff --git a/packaging/macosx/Resources/bin/getdisplay.sh b/packaging/macosx/Resources/bin/getdisplay.sh deleted file mode 100755 index f7f3833487..0000000000 --- a/packaging/macosx/Resources/bin/getdisplay.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -# -# Author: Aaron Voisine <aaron@voisine.org> - -if [ "$DISPLAY"x == "x" ]; then - echo :0 > /tmp/display.$UID -else - echo $DISPLAY > /tmp/display.$UID -fi diff --git a/packaging/macosx/Resources/bin/wireshark b/packaging/macosx/Resources/bin/wireshark deleted file mode 100755 index 5279a1e92c..0000000000 --- a/packaging/macosx/Resources/bin/wireshark +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh -# -# Author: Aaron Voisine <aaron@voisine.org> -# Wireshark Modifications: -# Michael Wybrow <mjwybrow@users.sourceforge.net> -# Jean-Olivier Irisson <jo.irisson@gmail.com> -# - -CWD="`(cd \"\`dirname \\\"$0\\\"\`\"; echo $PWD)`" -# e.g. /Applications/Wireshark.app/Contents/Resources/bin -TOP="`dirname \"$CWD\"`" -# e.g. /Applications/Wireshark.app/Contents/Resources - -# We might be exec'ed from wireshark, tshark, dumpcap, or any other binary -# from the Wireshark distribution. -# XXX - Should we verify that we have a valid name? -APPNAME=`basename "$0"` - -# Brutally add many things to the PATH. If the directories do not exist, they won't be used anyway. -# People should really use ~/.macosx/environment.plist to set environment variables as explained by Apple: -# http://developer.apple.com/qa/qa2001/qa1067.html -# but since no one does, we correct this by making the 'classic' PATH additions here: -# /usr/local/bin which, though standard, doesn't seem to be in the PATH -# newer python as recommended by MacPython http://www.python.org/download/mac/ -# Fink -# MacPorts (former DarwinPorts) -export PATH="/opt/local/bin:/sw/bin/:/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/local/bin:$CWD:$PATH" - -if [ "$APPNAME" == "wireshark" ] ; then # Apply GUI settings - # For Panther and Tiger, override the default fontconfig configuration - # XXX - This apparently isn't needed? - #if [[ $VERSION -le 4 ]]; then - export FONTCONFIG_PATH="$TOP/etc/fonts" - #fi - export PANGO_RC_FILE="$HOME/.wireshark-etc/pangorc" - export GTK_IM_MODULE_FILE="$HOME/.wireshark-etc/gtk.immodules" - export GDK_PIXBUF_MODULE_FILE="$HOME/.wireshark-etc/gdk-pixbuf.loaders" - export GTK_DATA_PREFIX="$TOP" - export GTK_EXE_PREFIX="$TOP" - export GNOME_VFS_MODULE_CONFIG_PATH="$TOP/etc/gnome-vfs-2.0/modules" - export GNOME_VFS_MODULE_PATH="$TOP/lib/gnome-vfs-2.0/modules" - - # 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 "$TOP/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/" - ./sync_osx_look.sh - # TODO: make this more robust, probably by integrating this script directly inline here - ) - export GTK2_RC_FILES="$TOP/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/gtkrc" - fi - - # TODO: Have to add ".UTF-8" to the LANG since ommiting causes Wireshark - # to crash on startup in locale_from_utf8(). - export LANG="`grep \"\`defaults read .GlobalPreferences AppleCollationOrder \ - 2>&1\`_\" /usr/share/locale/locale.alias | tail -n1 | sed 's/\./ /' | \ - awk '{print $2}'`.UTF-8" - - # Handle the case where the directory storing Wireshark has a '#' in the name. - # This '#' needs to be escaped in pango.modules for Pango to work properly. - ESCAPEDTOP=`echo $TOP | sed 's/#/\\\\\\\\#/'` - - mkdir -p "${HOME}/.wireshark-etc" - sed 's|${HOME}|'"$HOME|g" "$TOP/etc/pango/pangorc" > "${HOME}/.wireshark-etc/pangorc" - sed 's|${CWD}|'"$ESCAPEDTOP|g" "$TOP/etc/pango/pango.modules" \ - > "${HOME}/.wireshark-etc/pango.modules" - cp -f "$TOP/etc/pango/pangox.aliases" "${HOME}/.wireshark-etc/" - sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gtk.immodules" \ - > "${HOME}/.wireshark-etc/gtk.immodules" - sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gdk-pixbuf.loaders" \ - > "${HOME}/.wireshark-etc/gdk-pixbuf.loaders" -fi - -exec "$CWD/$APPNAME-bin" "$@" diff --git a/packaging/macosx/Resources/etc/fonts/fonts.conf b/packaging/macosx/Resources/etc/fonts/fonts.conf deleted file mode 100644 index 04b7ec75fa..0000000000 --- a/packaging/macosx/Resources/etc/fonts/fonts.conf +++ /dev/null @@ -1,155 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> -<!-- $Id$ --> -<!-- /etc/fonts/fonts.conf file to configure system font access --> -<fontconfig> - -<!-- - DO NOT EDIT THIS FILE. - IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED. - LOCAL CHANGES BELONG IN 'local.conf'. - - The intent of this standard configuration file is to be adequate for - most environments. If you have a reasonably normal environment and - have found problems with this configuration, they are probably - things that others will also want fixed. Please submit any - problems to the fontconfig bugzilla system located at fontconfig.org - - Note that the normal 'make install' procedure for fontconfig is to - replace any existing fonts.conf file with the new version. Place - any local customizations in local.conf which this file references. - - Keith Packard ---> - -<!-- Font directory list --> - - <dir>/Library/Fonts</dir> - <dir>/Network/Library/Fonts</dir> - <dir>/System/Library/Fonts</dir> - <dir>/usr/X11R6/lib/X11/fonts</dir> - <dir>/usr/share/fonts</dir> - <dir>/var/root/Library/Fonts</dir> - <dir>~/.fonts</dir> - <dir>~/Library/Fonts</dir> - -<!-- Font cache directory list --> - - <cachedir>~/.fontconfig</cachedir> - -<!-- - Accept deprecated 'mono' alias, replacing it with 'monospace' ---> - <match target="pattern"> - <test qual="any" name="family"> - <string>mono</string> - </test> - <edit name="family" mode="assign"> - <string>monospace</string> - </edit> - </match> - -<!-- - Accept alternate 'sans serif' spelling, replacing it with 'sans-serif' ---> - <match target="pattern"> - <test qual="any" name="family"> - <string>sans serif</string> - </test> - <edit name="family" mode="assign"> - <string>sans-serif</string> - </edit> - </match> - -<!-- - Accept deprecated 'sans' alias, replacing it with 'sans-serif' ---> - <match target="pattern"> - <test qual="any" name="family"> - <string>sans</string> - </test> - <edit name="family" mode="assign"> - <string>sans-serif</string> - </edit> - </match> - -<!-- - Load local system customization file ---> - <include ignore_missing="yes">conf.d</include> - - <config> -<!-- - These are the default Unicode chars that are expected to be blank - in fonts. All other blank chars are assumed to be broken and - won't appear in the resulting charsets - --> - <blank> - <int>0x0020</int> <!-- SPACE --> - <int>0x00A0</int> <!-- NO-BREAK SPACE --> - <int>0x00AD</int> <!-- SOFT HYPHEN --> - <int>0x034F</int> <!-- COMBINING GRAPHEME JOINER --> - <int>0x0600</int> <!-- ARABIC NUMBER SIGN --> - <int>0x0601</int> <!-- ARABIC SIGN SANAH --> - <int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER --> - <int>0x0603</int> <!-- ARABIC SIGN SAFHA --> - <int>0x06DD</int> <!-- ARABIC END OF AYAH --> - <int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK --> - <int>0x115F</int> <!-- HANGUL CHOSEONG FILLER --> - <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER --> - <int>0x1680</int> <!-- OGHAM SPACE MARK --> - <int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ --> - <int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA --> - <int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR --> - <int>0x2000</int> <!-- EN QUAD --> - <int>0x2001</int> <!-- EM QUAD --> - <int>0x2002</int> <!-- EN SPACE --> - <int>0x2003</int> <!-- EM SPACE --> - <int>0x2004</int> <!-- THREE-PER-EM SPACE --> - <int>0x2005</int> <!-- FOUR-PER-EM SPACE --> - <int>0x2006</int> <!-- SIX-PER-EM SPACE --> - <int>0x2007</int> <!-- FIGURE SPACE --> - <int>0x2008</int> <!-- PUNCTUATION SPACE --> - <int>0x2009</int> <!-- THIN SPACE --> - <int>0x200A</int> <!-- HAIR SPACE --> - <int>0x200B</int> <!-- ZERO WIDTH SPACE --> - <int>0x200C</int> <!-- ZERO WIDTH NON-JOINER --> - <int>0x200D</int> <!-- ZERO WIDTH JOINER --> - <int>0x200E</int> <!-- LEFT-TO-RIGHT MARK --> - <int>0x200F</int> <!-- RIGHT-TO-LEFT MARK --> - <int>0x2028</int> <!-- LINE SEPARATOR --> - <int>0x2029</int> <!-- PARAGRAPH SEPARATOR --> - <int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING --> - <int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING --> - <int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING --> - <int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE --> - <int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE --> - <int>0x202F</int> <!-- NARROW NO-BREAK SPACE --> - <int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE --> - <int>0x2060</int> <!-- WORD JOINER --> - <int>0x2061</int> <!-- FUNCTION APPLICATION --> - <int>0x2062</int> <!-- INVISIBLE TIMES --> - <int>0x2063</int> <!-- INVISIBLE SEPARATOR --> - <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING --> - <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING --> - <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING --> - <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING --> - <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES --> - <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES --> - <int>0x3000</int> <!-- IDEOGRAPHIC SPACE --> - <int>0x3164</int> <!-- HANGUL FILLER --> - <int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE --> - <int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER --> - <int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR --> - <int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR --> - <int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR --> - </blank> -<!-- - Rescan configuration every 30 seconds when FcFontSetList is called - --> - <rescan> - <int>30</int> - </rescan> - </config> - -</fontconfig> diff --git a/packaging/macosx/Resources/openDoc b/packaging/macosx/Resources/openDoc deleted file mode 100755 index 547889723b..0000000000 --- a/packaging/macosx/Resources/openDoc +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# -# Author: Aaron Voisine <aaron@voisine.org> -# Inkscape Modifications: Michael Wybrow <mjwybrow@users.sourceforge.net> - -CWD="`dirname \"$0\"`" - -# System version: 3 for Panther, 4 for Tiger, 5 for Leopard -export VERSION=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 -d'.'` - -if [[ $VERSION -le 4 ]]; then - export "DISPLAY=`cat /tmp/display.$UID`" -fi - -BASE="`echo "$0" | sed -e 's/\/[A-Za-z]*.app\/Contents\/Resources\/openDoc/\//'`" -cd "$BASE" -exec "$CWD/bin/wireshark" "$@" - diff --git a/packaging/macosx/Resources/script b/packaging/macosx/Resources/script deleted file mode 100755 index ff35f1a76a..0000000000 --- a/packaging/macosx/Resources/script +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh -# -# Author: Aaron Voisine <aaron@voisine.org> -# Wireshark (Inkscape) Modifications: Michael Wybrow <mjwybrow@users.sourceforge.net> - -CWD="`dirname \"$0\"`" - -# System version: 3 for Panther, 4 for Tiger, 5 for Leopard -export VERSION=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 -d'.'` - -# On Leopard, X11.app is installed by default, and will be started -# automatically via launchd. On older systems, we need to start -# X11 ourself. - -# For Panther and Tiger, start X11 -if [[ $VERSION -le 4 ]]; then - # FIXME apparently this removes the xterm that starts with X - # from xinitrc but when is it really used? Should we modify - # the .xinitrc of the user without warning? - ps -wx -ocommand | grep -e '[X]11' > /dev/null - if [ "$?" != "0" -a ! -f "${HOME}/.xinitrc" ]; then - echo "rm -f \"${HOME}/.xinitrc\"" > "${HOME}/.xinitrc" - sed 's/xterm/# xterm/' /usr/X11R6/lib/X11/xinit/xinitrc >> "${HOME}/.xinitrc" - fi - - # Start X11 and get DISPLAY - cp -f "$CWD/bin/getdisplay.sh" /tmp/ - rm -f /tmp/display.$UID - open-x11 /tmp/getdisplay.sh || \ - open -a XDarwin /tmp/getdisplay.sh || \ - echo ":0" > /tmp/display.$UID - - while [ "$?" == "0" -a ! -f /tmp/display.$UID ]; do - sleep 1 - done - export DISPLAY="`cat /tmp/display.$UID`" - - ps -wx -ocommand | grep -e '[X]11' > /dev/null || exit 11 -fi - - -# Warn the user about time-consuming generation of fontconfig caches. -test -f "${HOME}/.wireshark/.fccache-new" || exit 12 - - -BASE="`echo "$0" | sed -e 's/\/Contents\/Resources\/script/\//'`" -cd "$BASE" -exec "$CWD/bin/wireshark" "$@" -# TODO examine wether it would be wisest to move the code from wireshark shell -# script and getdisplay.sh to here and only keep the real binary in bin. This -# may make things easier on Leopard and may also help using Wireshark on the -# command line - 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 Binary files differdeleted file mode 100644 index 336ff0efd1..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-down.png +++ /dev/null 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 Binary files differdeleted file mode 100644 index 14f0b88448..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-left.png +++ /dev/null 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 Binary files differdeleted file mode 100644 index 16feb73482..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-right.png +++ /dev/null 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 Binary files differdeleted file mode 100644 index 33825ef779..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/stepper-up.png +++ /dev/null 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 Binary files differdeleted file mode 100644 index 4e2954acad..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png +++ /dev/null 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 Binary files differdeleted file mode 100644 index 6d544c8a76..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars/trough-scrollbar-vert.png +++ /dev/null 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 deleted file mode 100755 index 12f8520f60..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/copy-slider.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/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 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 Binary files differdeleted file mode 100644 index 38cc4b87eb..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz-prelight.png +++ /dev/null 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 Binary files differdeleted file mode 100644 index 38cc4b87eb..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-horiz.png +++ /dev/null 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 Binary files differdeleted file mode 100644 index d25f98e8f3..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert-prelight.png +++ /dev/null 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 Binary files differdeleted file mode 100644 index d25f98e8f3..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_1/slider-vert.png +++ /dev/null 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 deleted file mode 100755 index 12f8520f60..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/copy-slider.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/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 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 Binary files differdeleted file mode 100644 index b48d039497..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz-prelight.png +++ /dev/null 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 Binary files differdeleted file mode 100644 index b48d039497..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-horiz.png +++ /dev/null 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 Binary files differdeleted file mode 100644 index 253b9bfc82..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert-prelight.png +++ /dev/null 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 Binary files differdeleted file mode 100644 index 253b9bfc82..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/Scrollbars_6/slider-vert.png +++ /dev/null diff --git a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/gtkrc b/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/gtkrc deleted file mode 100644 index 28321bbc65..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/gtkrc +++ /dev/null @@ -1,502 +0,0 @@ -# -# 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] = "#4a76cd" # 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] = "#4a76cd" # menu color - base[ACTIVE] = {0.6, 0.6, 0.6} # dark gray - base[SELECTED] = {0.709800,0.835300,1.000000} # 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_1/slider-horiz.png" - border = { 15, 15, 6, 6 } - stretch = TRUE - orientation = HORIZONTAL - } - - # Horizontal slider (active) - image - { - function = SLIDER - recolorable = TRUE - state = ACTIVE - file = "Scrollbars_1/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_1/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_1/slider-horiz.png" - border = { 15, 15, 6, 6 } - stretch = TRUE - orientation = HORIZONTAL - } - - # Normal vertical slider - image - { - function = SLIDER - recolorable = TRUE - state = NORMAL - file = "Scrollbars_1/slider-vert.png" - border = { 6, 6, 15, 15 } - stretch = TRUE - orientation = VERTICAL - } - - # Vertical slider (Active) - image - { - function = SLIDER - recolorable = TRUE - state = ACTIVE - file = "Scrollbars_1/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_1/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_1/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" -gtk-icon-theme-name = "gnome" -gtk-icon-sizes = "gtk-menu=16,16:gtk-dialog=48,48:gtk-dnd=32,32:gtk-button=20,20:gtk-large-toolbar=24,24:gtk-small-toolbar=16,16:wireshark-decoration=12,12" - 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 deleted file mode 100644 index 2c806d36c5..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/pre_gtkrc +++ /dev/null @@ -1,527 +0,0 @@ -# -# 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) -# -# XXX - hopefully not *too* heavily based on Clearlooks; Clearlooks -# might be the right theme for Ubuntu/Fedora/RHEL/Solaris/other -# OSes with GNOME-based desktops, but something that looks a bit -# more OS Xish might be better here. -# -# Also, note bugs 3944 and 3945, where some color and size choices -# aren't necessarily right. -# -# Googling for -# -# gtk theme mac os x -# -# (as Google Suggest suggested) found -# -# http://www.gnome-look.org/content/show.php?content=13548 -# http://www.gnome-look.org/content/show.php/OSX-Tiger+theme?content=56577 -# http://xanana.ucsc.edu/~wgscott/wordpress_new/wordpress/?p=5 -# http://linux.softpedia.com/get/Desktop-Environment/Themes/OSX-mod-41416.shtml -# http://www.gnome-look.org/content/show.php/OSX-X.5?content=61583 -# http://linux.softpedia.com/get/Desktop-Environment/Themes/MacOS-X-Aqua-Theme-23942.shtml -# -# (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" - # We want PRELIGHT to be white for widgets, but coloured for the menu. - bg[PRELIGHT] = OSX_MENU_COLOR_PLACEHOLDER - -} - -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" -gtk-icon-theme-name = "gnome" -gtk-icon-sizes = "gtk-menu=16,16:gtk-dialog=48,48:gtk-dnd=32,32:gtk-button=20,20:gtk-large-toolbar=24,24:gtk-small-toolbar=16,16:inkscape-decoration=12,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 deleted file mode 100755 index f809e4c506..0000000000 --- a/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/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, 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` -# 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 -fi - -# Menu items color -if [[ aquaStyle -eq 1 ]]; then - menuColor="#4a76cd" # blue -else - menuColor="#7c8da4" # graphite -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 |