[gimp/gimp-2-8] build/osx: Set Tango as icon theme and force to copy all icons



commit 035eec0d66b1d9a6484a1fc37e11a759cbabf6f1
Author: Kristian Rietveld <kris loopnest org>
Date:   Sun Jul 17 14:38:27 2016 +0200

    build/osx: Set Tango as icon theme and force to copy all icons
    
    The Tango theme has a complete set of icons for all MIME types. We need
    to force to copy all these icons to the bundle, such that all icons for
    the different MIME types are guaranteed to be present.

 build/osx/custom/gtkrc           |    4 ++++
 build/osx/gimp-2.8-python.bundle |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/build/osx/custom/gtkrc b/build/osx/custom/gtkrc
index 6be01b1..e3be940 100644
--- a/build/osx/custom/gtkrc
+++ b/build/osx/custom/gtkrc
@@ -1,6 +1,10 @@
 # Set default theme to Mac
 gtk-theme-name = "Mac"
 
+# Use Tango as icon theme, which has different icons for different MIME types
+# and also fixes the problem with missing icons for regular directories.
+gtk-icon-theme-name = "Tango"
+
 # Include Mac path to fix plugins not applying theme
 include "../../share/themes/Mac/gtk-2.0/gtkrc"
 
diff --git a/build/osx/gimp-2.8-python.bundle b/build/osx/gimp-2.8-python.bundle
index 8d32181..ca41702 100644
--- a/build/osx/gimp-2.8-python.bundle
+++ b/build/osx/gimp-2.8-python.bundle
@@ -237,5 +237,5 @@
        <data dest="${bundle}/Contents/Resources">${project}/xcf.icns</data>
 
        <!-- Copy in base icon theme -->
-       <icon-theme icons="auto">Tango</icon-theme>
+       <icon-theme icons="all">Tango</icon-theme>
 </app-bundle>


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