[gtranslator] Embed a icon file on gtranslator.exe for eyecandy on windows
- From: Pablo Sanxiao Roca <psanxiao src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtranslator] Embed a icon file on gtranslator.exe for eyecandy on windows
- Date: Thu, 30 Jul 2009 21:19:12 +0000 (UTC)
commit e5591e2188f93a0caef833f1641c57423fed2aee
Author: Francisco Puga <francisco puga ghandalf org>
Date: Wed Jul 22 17:05:48 2009 +0200
Embed a icon file on gtranslator.exe for eyecandy on windows
data/desktop/gtranslator.ico | Bin 0 -> 9662 bytes
src/Makefile.am | 8 ++++++++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/data/desktop/gtranslator.ico b/data/desktop/gtranslator.ico
new file mode 100644
index 0000000..5335876
Binary files /dev/null and b/data/desktop/gtranslator.ico differ
diff --git a/src/Makefile.am b/src/Makefile.am
index 5383e45..a807ca5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -48,6 +48,7 @@ else
gtranslator_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*"
endif
+
libgtranslator_la_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*"
BUILT_SOURCES = \
@@ -56,6 +57,13 @@ BUILT_SOURCES = \
gtranslator-enum-types.h \
gtranslator-enum-types.c
+if PLATFORM_WIN32
+gtranslator-res.o: gtranslator.rc
+ $(WINDRES) -i gtranslator.rc --input-format=rc -o gtranslator-res.o -O coff
+
+gtranslator_LDADD += gtranslator-res.o
+endif
+
INST_H_FILES = \
application.h \
context.h \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]