aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-05-09 00:00:01 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-05-09 00:00:01 +0800
commitc08d9241d6de79304a932c812360f41fe568e57a (patch)
treeb52fc681836485691c94b2cc136ef5500e80addf
parent8ad0c51edff9677ca22c46257f4a596dc23d2055 (diff)
downloadgsoc2013-evolution-c08d9241d6de79304a932c812360f41fe568e57a.tar.gz
gsoc2013-evolution-c08d9241d6de79304a932c812360f41fe568e57a.tar.zst
gsoc2013-evolution-c08d9241d6de79304a932c812360f41fe568e57a.zip
Bug 618113 - Missing icon in alarm dialog
-rw-r--r--calendar/gui/alarm-notify/Makefile.am1
-rw-r--r--calendar/gui/alarm-notify/notify-main.c4
2 files changed, 5 insertions, 0 deletions
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 10e09f7192..b20e7c5e16 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)