summaryrefslogtreecommitdiff
path: root/src/icedove-branding/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/icedove-branding/moz.build')
-rw-r--r--src/icedove-branding/moz.build37
1 files changed, 26 insertions, 11 deletions
diff --git a/src/icedove-branding/moz.build b/src/icedove-branding/moz.build
index e53e1c4..626c0d2 100644
--- a/src/icedove-branding/moz.build
+++ b/src/icedove-branding/moz.build
@@ -7,15 +7,30 @@ DIRS += ['locales']
JAR_MANIFESTS += ['jar.mn']
-JS_PREFERENCE_FILES += ['thunderbird-branding.js']
+@template
+def ThunderbirdBranding():
+ JS_PREFERENCE_FILES += [
+ 'thunderbird-branding.js',
+ ]
-FINAL_TARGET_FILES.chrome.icons.default += [
- 'default128.png',
- 'default16.png',
- 'default22.png',
- 'default24.png',
- 'default256.png',
- 'default32.png',
- 'default48.png',
- 'default64.png',
-]
+ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
+ FINAL_TARGET_FILES += [
+ 'thunderbird.VisualElementsManifest.xml',
+ ]
+ FINAL_TARGET_FILES.VisualElements += [
+ 'VisualElements_150.png',
+ 'VisualElements_70.png',
+ ]
+ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
+ FINAL_TARGET_FILES.chrome.icons.default += [
+ 'default128.png',
+ 'default16.png',
+ 'default22.png',
+ 'default24.png',
+ 'default256.png',
+ 'default32.png',
+ 'default48.png',
+ 'default64.png',
+ ]
+
+ThunderbirdBranding()