aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
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:02:36 +0800
commit956aaf8200bde09f9528d51854302f7834e22b9f (patch)
tree7d162123f108f7b6663629d78260436501916b7a /calendar
parent4993d81486d703d093970ce3ee1511af6108f0fd (diff)
downloadgsoc2013-evolution-956aaf8200bde09f9528d51854302f7834e22b9f.tar.gz
gsoc2013-evolution-956aaf8200bde09f9528d51854302f7834e22b9f.tar.zst
gsoc2013-evolution-956aaf8200bde09f9528d51854302f7834e22b9f.zip
Bug 618113 - Missing icon in alarm dialog
Diffstat (limited to 'calendar')
-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 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)