diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-07-13 05:57:31 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-07-13 05:57:31 +0800 |
commit | 842913831516ce552b166c3f506f05a816758b27 (patch) | |
tree | cae3d59736dac59ad789ec6c5f9141e52145415a /addressbook/gui | |
parent | eb33e78eeb6a27a351279dfaac4f3614333f9607 (diff) | |
download | gsoc2013-evolution-842913831516ce552b166c3f506f05a816758b27.tar gsoc2013-evolution-842913831516ce552b166c3f506f05a816758b27.tar.gz gsoc2013-evolution-842913831516ce552b166c3f506f05a816758b27.tar.bz2 gsoc2013-evolution-842913831516ce552b166c3f506f05a816758b27.tar.lz gsoc2013-evolution-842913831516ce552b166c3f506f05a816758b27.tar.xz gsoc2013-evolution-842913831516ce552b166c3f506f05a816758b27.tar.zst gsoc2013-evolution-842913831516ce552b166c3f506f05a816758b27.zip |
Added installation of arrow.png.
2000-07-12 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/Makefile.am: Added installation of arrow.png.
* contact-editor/e-contact-editor.c: Use EVOLUTIONDIR #define.
svn path=/trunk/; revision=4124
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/contact-editor/Makefile.am | 10 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 2 |
2 files changed, 9 insertions, 3 deletions
diff --git a/addressbook/gui/contact-editor/Makefile.am b/addressbook/gui/contact-editor/Makefile.am index d7729421b1..b487f96fe2 100644 --- a/addressbook/gui/contact-editor/Makefile.am +++ b/addressbook/gui/contact-editor/Makefile.am @@ -1,6 +1,7 @@ CPPFLAGS = \ -DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \ - -DDATADIR=\""$(datadir)"\" + -DDATADIR=\""$(datadir)"\" \ + -DEVOLUTIONDIR=\""$(evolutiondir)"\" INCLUDES = \ $(BONOBO_GNOME_CFLAGS) \ @@ -43,6 +44,10 @@ contact_editor_test_LDADD = \ $(top_builddir)/widgets/e-text/libetext.a \ $(EXTRA_GNOME_LIBS) +evolutiondir = $(datadir)/evolution + +evolution_DATA = arrow.png + gladedir = $(datadir)/evolution/glade glade_DATA = \ @@ -50,7 +55,8 @@ glade_DATA = \ fullname.glade \ categories.glade -EXTRA_DIST = $(glade_DATA) \ +EXTRA_DIST = $(evolution_DATA) \ + $(glade_DATA) \ e-contact-editor-strings.h \ fullname-strings.h \ categories-strings.h diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 6c28351c32..c3f6b00cd0 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -153,7 +153,7 @@ _replace_button(EContactEditor *editor, gchar *button_xml, gchar *image, GtkSign GtkWidget *pixmap; gchar *image_temp; if (button && GTK_IS_BUTTON(button)) { - image_temp = g_strdup_printf("%s%s", DATADIR "/evolution/", image); + image_temp = g_strdup_printf("%s/%s", EVOLUTIONDIR, image); pixmap = e_create_image_widget(NULL, image_temp, NULL, 0, 0); gtk_container_add(GTK_CONTAINER(button), pixmap); |