From 643b59eeb20850bbb7bf8d5810057be55f8cb3f1 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 3 Nov 2009 23:40:21 +0100 Subject: [PATCH] Use different icons sizes for Hildon/ other platforms --- icons/wscript_build | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/icons/wscript_build b/icons/wscript_build index 04053068..5a73b4bd 100644 --- a/icons/wscript_build +++ b/icons/wscript_build @@ -15,7 +15,13 @@ def add_image (bld, category, name): if rsvg_convert: Utils.check_dir (blddir + '/icons') - for size in [16, 22, 24, 32, 48]: + if bld.env['HAVE_HILDON']: + category = 'hildon' + icon_sizes = [48, 64] + else: + icon_sizes = [16, 22, 24, 32, 48] + + for size in icon_sizes: format = str (size) + 'x' + str (size) if os.access (srcdir + '/icons/' + format + '/' + name + '.png', os.F_OK): bld.install_files ('${MDATADIR}/icons/hicolor/' + format + '/' + category, -- 2.39.5