From 956aaf8200bde09f9528d51854302f7834e22b9f Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 8 May 2010 11:00:01 -0500 Subject: Bug 618113 - Missing icon in alarm dialog --- calendar/gui/alarm-notify/Makefile.am | 1 + calendar/gui/alarm-notify/notify-main.c | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'calendar') diff --git a/calendar/gui/alarm-notify/Makefile.am b/calendar/gui/alarm-notify/Makefile.am index 79b9122a3c..9f757e3909 100644 --- a/calendar/gui/alarm-notify/Makefile.am +++ b/calendar/gui/alarm-notify/Makefile.am @@ -11,6 +11,7 @@ evolution_alarm_notify_CPPFLAGS = \ -I$(top_srcdir)/widgets \ -I$(top_srcdir)/calendar \ -DEVOLUTION_UIDIR=\""$(uidir)"\" \ + -DEVOLUTION_ICONDIR=\""$(icondir)"\" \ -DEVOLUTION_LOCALEDIR=\""$(localedir)"\" \ -DEVOLUTION_LIBEXECDIR=\""$(privlibexecdir)"\" \ $(GNOME_PLATFORM_CFLAGS) \ diff --git a/calendar/gui/alarm-notify/notify-main.c b/calendar/gui/alarm-notify/notify-main.c index 966571350d..483704f1e4 100644 --- a/calendar/gui/alarm-notify/notify-main.c +++ b/calendar/gui/alarm-notify/notify-main.c @@ -45,6 +45,7 @@ gint main (gint argc, gchar **argv) { + GtkIconTheme *icon_theme; AlarmNotify *alarm_notify_service; UniqueApp *app; @@ -71,6 +72,9 @@ main (gint argc, gchar **argv) /* Initialize Camel's type system. */ camel_object_get_type(); + icon_theme = gtk_icon_theme_get_default (); + gtk_icon_theme_append_search_path (icon_theme, EVOLUTION_ICONDIR); + gtk_main (); if (alarm_notify_service != NULL) -- cgit v1.2.3