[gtk-mac-bundler] Make sure to check for .symbolic icon extension



commit 9053f030ea8976215a5deaac0fdb5ca9a0a5fcf5
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Mon Aug 25 15:48:28 2014 +0200

    Make sure to check for .symbolic icon extension

 bundler/bundler.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/bundler/bundler.py b/bundler/bundler.py
index 50433b4..8061ac1 100644
--- a/bundler/bundler.py
+++ b/bundler/bundler.py
@@ -544,6 +544,10 @@ class Bundler:
                     # Go through every file, if it matches the icon
                     # set, copy it.
                     (head, tail) = os.path.splitext(f)
+
+                    if head.endswith('.symbolic'):
+                        (head, tail) = os.path.splitext(head)
+
                     if head in used_icons or theme.icons == IconTheme.ICONS_ALL:
                         path = os.path.join(root, f)
 


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