[evolution/gnome-2-30] Bug 618113 - Missing icon in alarm dialog
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-2-30] Bug 618113 - Missing icon in alarm dialog
- Date: Sat, 8 May 2010 16:02:43 +0000 (UTC)
commit 956aaf8200bde09f9528d51854302f7834e22b9f
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat May 8 11:00:01 2010 -0500
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(+), 0 deletions(-)
---
diff --git a/calendar/gui/alarm-notify/Makefile.am b/calendar/gui/alarm-notify/Makefile.am
index 79b9122..9f757e3 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 9665713..483704f 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]