From 86283a2fded0cc813c74bc599dac2cea17e07d0f Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 22 Aug 2008 16:48:22 -0700 Subject: [PATCH] Created a Windows application icon and embedded it into generated Luminotes executable. --- NEWS | 5 +++++ setup.py | 5 ++++- static/images/images.txt | 3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index a65cd82..bdd4cb0 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +1.? + * Created a Windows application icon and embedded it into generated + Luminotes executable. + * + 1.4.27: August 22, 2008 * Fixed a bug in tools/initdb.py and tools/updatedb.py that caused them to only use some of the configured settings. diff --git a/setup.py b/setup.py index 267f606..76c3c61 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,10 @@ class Luminotes( Distribution ): self.ctypes_com_server = [] self.com_server = [] self.services = [] - self.windows = [ "luminotes.py" ] + self.windows = [ dict( + script = "luminotes.py", + icon_resources = [ ( 0, "static\\images\\luminotes.ico" ) ], + ) ] self.console = [] self.service = [] self.isapi = [] diff --git a/static/images/images.txt b/static/images/images.txt index dd91932..2f05d53 100644 --- a/static/images/images.txt +++ b/static/images/images.txt @@ -29,6 +29,7 @@ http://groups-beta.google.com/groups/roundedcorners?c=b0d0ff&bc=fafafa&w=6&h=6&a The title image is in a 50 pt Qlassik medium font, with a 25 pt sub-heading and a manually modified "k" character. -The luminotes.ico Windows icon was created with the following command: +The luminotes.ico Windows icon was created by converting favicon*.xcf to PNG with +the Gimp and then running the following command on the resulting PNGs: icotool -c -t 0 favicon.png favicon_large.png favicon_quite_large.png -o luminotes.ico