aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/contact-editor/Makefile.am4
-rw-r--r--addressbook/contact-editor/e-contact-editor.c11
-rw-r--r--addressbook/gui/contact-editor/Makefile.am4
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c11
4 files changed, 18 insertions, 12 deletions
diff --git a/addressbook/contact-editor/Makefile.am b/addressbook/contact-editor/Makefile.am
index 2fb74b736d..0e8b924e5e 100644
--- a/addressbook/contact-editor/Makefile.am
+++ b/addressbook/contact-editor/Makefile.am
@@ -1,3 +1,4 @@
+imagesdir = $(datadir)/images/evolution
images = email.png head.png phone.png snailmail.png web.png arrow.png briefcase.png netmeeting.png netfreebusy.png
@@ -10,7 +11,8 @@ CPPFLAGS = \
INCLUDES = \
$(GNOME_INCLUDEDIR) \
- -I$(top_srcdir)/addressbook/backend/ebook
+ -I$(top_srcdir)/addressbook/backend/ebook \
+ -DEVOLUTION_IMAGES=\""$(imagesdir)"\"
noinst_LIBRARIES = \
libecontacteditor.a
diff --git a/addressbook/contact-editor/e-contact-editor.c b/addressbook/contact-editor/e-contact-editor.c
index cda77e4431..6f2431d110 100644
--- a/addressbook/contact-editor/e-contact-editor.c
+++ b/addressbook/contact-editor/e-contact-editor.c
@@ -134,11 +134,12 @@ _add_image(GtkTable *table, gchar *image, int left, int right, int top, int bott
static void
_add_images(GtkTable *table)
{
- _add_image(table, DATADIR "/evolution/head.png", 0, 1, 0, 4);
- _add_image(table, DATADIR "/evolution/phone.png", 4, 5, 0, 4);
- _add_image(table, DATADIR "/evolution/email.png", 0, 1, 5, 7);
- _add_image(table, DATADIR "/evolution/web.png", 0, 1, 8, 10);
- _add_image(table, DATADIR "/evolution/snailmail.png", 4, 5, 5, 10);
+ _add_image(table, EVOLUTION_IMAGES "/malehead.png", 0, 1, 0, 4);
+ _add_image(table, EVOLUTION_IMAGES "/cellphone.png", 4, 5, 0, 4);
+ _add_image(table, EVOLUTION_IMAGES "/envelope.png", 0, 1, 5, 7);
+ _add_image(table, EVOLUTION_IMAGES "/globe.png",
+ 0, 1, 8, 10);
+ _add_image(table, EVOLUTION_IMAGES "/house.png", 4, 5, 5, 10);
}
static void
diff --git a/addressbook/gui/contact-editor/Makefile.am b/addressbook/gui/contact-editor/Makefile.am
index 2fb74b736d..0e8b924e5e 100644
--- a/addressbook/gui/contact-editor/Makefile.am
+++ b/addressbook/gui/contact-editor/Makefile.am
@@ -1,3 +1,4 @@
+imagesdir = $(datadir)/images/evolution
images = email.png head.png phone.png snailmail.png web.png arrow.png briefcase.png netmeeting.png netfreebusy.png
@@ -10,7 +11,8 @@ CPPFLAGS = \
INCLUDES = \
$(GNOME_INCLUDEDIR) \
- -I$(top_srcdir)/addressbook/backend/ebook
+ -I$(top_srcdir)/addressbook/backend/ebook \
+ -DEVOLUTION_IMAGES=\""$(imagesdir)"\"
noinst_LIBRARIES = \
libecontacteditor.a
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index cda77e4431..6f2431d110 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -134,11 +134,12 @@ _add_image(GtkTable *table, gchar *image, int left, int right, int top, int bott
static void
_add_images(GtkTable *table)
{
- _add_image(table, DATADIR "/evolution/head.png", 0, 1, 0, 4);
- _add_image(table, DATADIR "/evolution/phone.png", 4, 5, 0, 4);
- _add_image(table, DATADIR "/evolution/email.png", 0, 1, 5, 7);
- _add_image(table, DATADIR "/evolution/web.png", 0, 1, 8, 10);
- _add_image(table, DATADIR "/evolution/snailmail.png", 4, 5, 5, 10);
+ _add_image(table, EVOLUTION_IMAGES "/malehead.png", 0, 1, 0, 4);
+ _add_image(table, EVOLUTION_IMAGES "/cellphone.png", 4, 5, 0, 4);
+ _add_image(table, EVOLUTION_IMAGES "/envelope.png", 0, 1, 5, 7);
+ _add_image(table, EVOLUTION_IMAGES "/globe.png",
+ 0, 1, 8, 10);
+ _add_image(table, EVOLUTION_IMAGES "/house.png", 4, 5, 5, 10);
}
static void