[evolution] Give the windows version of evolution-alarm-notify a nice win32 icon



commit e234598bdf2afc9f722c53bd993d074cd0e0d5e1
Author: Fridrich Å trba <fridrich strba bluewin ch>
Date:   Tue Apr 20 15:15:11 2010 +0200

    Give the windows version of evolution-alarm-notify a nice win32 icon

 calendar/gui/alarm-notify/Makefile.am              |   15 +++++++++++++--
 .../alarm-notify/evolution-alarm-notify-icon.rc    |    1 +
 .../gui/alarm-notify/evolution-alarm-notify.ico    |  Bin 0 -> 290014 bytes
 shell/Makefile.am                                  |    4 ++--
 4 files changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/calendar/gui/alarm-notify/Makefile.am b/calendar/gui/alarm-notify/Makefile.am
index 44e0187..79b9122 100644
--- a/calendar/gui/alarm-notify/Makefile.am
+++ b/calendar/gui/alarm-notify/Makefile.am
@@ -1,5 +1,9 @@
 bin_PROGRAMS = evolution-alarm-notify
 
+if HAVE_WINDRES
+EVOLUTIONALARMNOTIFYICON = evolution-alarm-notify-icon.o
+endif
+
 evolution_alarm_notify_CPPFLAGS = 			\
 	$(AM_CPPFLAGS)					\
 	-DG_LOG_DOMAIN=\"evolution-alarm-notify\"	\
@@ -39,12 +43,19 @@ evolution_alarm_notify_LDADD =						\
 	$(CAMEL_LIBS)							\
 	$(EVOLUTION_CALENDAR_LIBS)					\
 	$(CANBERRA_LIBS)						\
-	$(GNOME_PLATFORM_LIBS)
+	$(GNOME_PLATFORM_LIBS)						\
+	$(EVOLUTIONALARMNOTIFYICON)
 
 if OS_WIN32
 evolution_alarm_notify_LDFLAGS = -mwindows
 endif
 
-EXTRA_DIST = $(ui_DATA)
+EXTRA_DIST = $(ui_DATA) \
+	evolution-alarm-notify-icon.rc			\
+	evolution-alarm-notify.ico
+
+
+evolution-alarm-notify-icon.o: evolution-alarm-notify.ico evolution-alarm-notify-icon.rc
+	$(WINDRES) evolution-alarm-notify-icon.rc evolution-alarm-notify-icon.o
 
 -include $(top_srcdir)/git.mk
diff --git a/calendar/gui/alarm-notify/evolution-alarm-notify-icon.rc b/calendar/gui/alarm-notify/evolution-alarm-notify-icon.rc
new file mode 100644
index 0000000..1f9ef65
--- /dev/null
+++ b/calendar/gui/alarm-notify/evolution-alarm-notify-icon.rc
@@ -0,0 +1 @@
+1	ICON	"evolution-alarm-notify.ico"
diff --git a/calendar/gui/alarm-notify/evolution-alarm-notify.ico b/calendar/gui/alarm-notify/evolution-alarm-notify.ico
new file mode 100644
index 0000000..26e108d
Binary files /dev/null and b/calendar/gui/alarm-notify/evolution-alarm-notify.ico differ
diff --git a/shell/Makefile.am b/shell/Makefile.am
index 887eb87..567059e 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -89,7 +89,7 @@ libeshell_la_LIBADD =					\
 # Evolution executable
 
 if HAVE_WINDRES
-EVOLUTIONICONRC = evolution-icon.o
+EVOLUTIONICON = evolution-icon.o
 endif
 
 evolution_CPPFLAGS =						\
@@ -131,7 +131,7 @@ evolution_LDADD =							\
 	$(TZDIALOG_LIBS)						\
 	$(SHELL_LIBS)							\
 	$(GNOME_PLATFORM_LIBS)						\
-	$(EVOLUTIONICONRC)
+	$(EVOLUTIONICON)
 
 if OS_WIN32
 evolution_LDFLAGS = -mwindows



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]