[frogr] Small correction to GTK CSS style for OS X bundle to fix buttons



commit 85014a57662ea79a90415c0952f8a54c67aa81ca
Author: Mario Sanchez Prada <msanchez gnome org>
Date:   Fri Jun 6 00:22:16 2014 +0100

    Small correction to GTK CSS style for OS X bundle to fix buttons

 osx/makebundle.sh |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/osx/makebundle.sh b/osx/makebundle.sh
index 04a2ef1..ca201dd 100755
--- a/osx/makebundle.sh
+++ b/osx/makebundle.sh
@@ -44,6 +44,12 @@ if [ ! -d $BUNDLE_APP ]; then
 
     echo "Creating new $BUNDLE_APP bundle..."
     gtk-mac-bundler frogr.bundle
+
+    echo "Fixing issues with the GTK+ style..."
+    adwaita_css_path="$BUNDLE_APP/Contents/Resources/share/themes/Adwaita/gtk-3.0"
+    appended_style=".button { padding: 2px; }"
+    echo "$appended_style" >> "$adwaita_css_path/gtk.css"
+    echo "$appended_style" >> "$adwaita_css_path/gtk-dark.css"
 elif $STRIP_DEBUG; then
     echo "Note $BUNDLE_APP bundle already exists, only stripping it..."
 else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]