diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-03-15 21:29:34 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-03-15 21:29:34 (GMT) |
commit | 10619b03988d94136c1dc6cb9a0963130d42f48e (patch) | |
tree | f9f9f83fbd3bed102992e8a3e2da50337694c9e6 /Swift | |
parent | 8fdfd7bdb4cee9a580630066951d97315311300c (diff) | |
download | swift-contrib-10619b03988d94136c1dc6cb9a0963130d42f48e.zip swift-contrib-10619b03988d94136c1dc6cb9a0963130d42f48e.tar.bz2 |
Install more icons on Linux.
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/SConscript | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript index 5e0a366..80b329c 100644 --- a/Swift/QtUI/SConscript +++ b/Swift/QtUI/SConscript @@ -222,6 +222,12 @@ if env["PLATFORM"] == "darwin" : if env.get("SWIFT_INSTALLDIR", "") : env.Install(os.path.join(env["SWIFT_INSTALLDIR"], "bin"), swiftProgram) env.InstallAs(os.path.join(env["SWIFT_INSTALLDIR"], "share", "pixmaps", "swift.xpm"), "../resources/logo/logo-icon-32.xpm") + icons_path = os.path.join(env["SWIFT_INSTALLDIR"], "share", "icons", "hicolor") + env.InstallAs(os.path.join(icons_path, "32x32", "apps", "swift.xpm"), "../resources/logo/logo-icon-32.xpm") + env.InstallAs(os.path.join(icons_path, "scalable", "apps", "swift.svg"), "../resources/logo/logo-icon.svg") + # TODO: 22, 24 + for i in ["16", "64", "128"] : + env.InstallAs(os.path.join(icons_path, i + "x" + i, "apps", "swift.png"), "../resources/logo/logo-icon-" + i + ".png") env.Install(os.path.join(env["SWIFT_INSTALLDIR"], "share", "applications"), "../resources/swift.desktop") for dir, resource in commonResources.items() : env.Install(os.path.join(env["SWIFT_INSTALLDIR"], "share", "swift", dir), resource) |