From ae89d959aab24359c730375cff664ac3b44cc953 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 26 Nov 2005 01:51:39 +0000 Subject: gui/contact-editor/e-contact-editor.c 2005-11-26 Tor Lillqvist * gui/contact-editor/e-contact-editor.c * gui/contact-editor/e-contact-editor-address.c * gui/contact-editor/e-contact-editor-fullname.c * gui/contact-editor/e-contact-editor-im.c * gui/contact-list-editor/e-contact-list-editor.c * gui/merging/eab-contact-merging.c * gui/widgets/e-addressbook-view.c * printing/e-contact-print.c * printing/e-contact-print-style-editor.c: Include e-util-private.h to get redefinition of compile-time pathnames as calls to functions on Windows. Construct the pathnames of files and directories under the installation prefix at run-time to enable install-anywhere on Windows. No effect on functionality on Unix. svn path=/trunk/; revision=30678 --- addressbook/printing/e-contact-print-style-editor.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'addressbook/printing/e-contact-print-style-editor.c') diff --git a/addressbook/printing/e-contact-print-style-editor.c b/addressbook/printing/e-contact-print-style-editor.c index 436aaddff0..8c41f9491b 100644 --- a/addressbook/printing/e-contact-print-style-editor.c +++ b/addressbook/printing/e-contact-print-style-editor.c @@ -20,6 +20,7 @@ */ #include "e-contact-print-style-editor.h" +#include "e-util/e-util-private.h" static void e_contact_print_style_editor_init (EContactPrintStyleEditor *card); static void e_contact_print_style_editor_class_init (EContactPrintStyleEditorClass *klass); @@ -99,9 +100,15 @@ static void e_contact_print_style_editor_init (EContactPrintStyleEditor *e_contact_print_style_editor) { GladeXML *gui; + char *gladefile; /* e_contact_print_style_editor->card = NULL;*/ - gui = glade_xml_new (EVOLUTION_GLADEDIR "/e-contact-print.glade", NULL, NULL); + gladefile = g_build_filename (EVOLUTION_GLADEDIR, + "e-contact-print.glade", + NULL); + gui = glade_xml_new (gladefile, NULL, NULL); + g_free (gladefile); + e_contact_print_style_editor->gui = gui; gtk_widget_reparent(glade_xml_get_widget(gui, "vbox-contact-print-style-editor"), GTK_WIDGET(e_contact_print_style_editor)); -- cgit v1.2.3