aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor-fullname.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-11-26 09:51:39 +0800
committerTor Lillqvist <tml@src.gnome.org>2005-11-26 09:51:39 +0800
commitae89d959aab24359c730375cff664ac3b44cc953 (patch)
tree0586e91beff095bc1106af81a2473f2649782d93 /addressbook/gui/contact-editor/e-contact-editor-fullname.c
parent562c2c4c630683d1ec5b9b5958525e6509a56eb2 (diff)
downloadgsoc2013-evolution-ae89d959aab24359c730375cff664ac3b44cc953.tar
gsoc2013-evolution-ae89d959aab24359c730375cff664ac3b44cc953.tar.gz
gsoc2013-evolution-ae89d959aab24359c730375cff664ac3b44cc953.tar.bz2
gsoc2013-evolution-ae89d959aab24359c730375cff664ac3b44cc953.tar.lz
gsoc2013-evolution-ae89d959aab24359c730375cff664ac3b44cc953.tar.xz
gsoc2013-evolution-ae89d959aab24359c730375cff664ac3b44cc953.tar.zst
gsoc2013-evolution-ae89d959aab24359c730375cff664ac3b44cc953.zip
gui/contact-editor/e-contact-editor.c
2005-11-26 Tor Lillqvist <tml@novell.com> * 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
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor-fullname.c')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor-fullname.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor-fullname.c b/addressbook/gui/contact-editor/e-contact-editor-fullname.c
index 1847a463f1..249ffb38fc 100644
--- a/addressbook/gui/contact-editor/e-contact-editor-fullname.c
+++ b/addressbook/gui/contact-editor/e-contact-editor-fullname.c
@@ -22,6 +22,7 @@
#include <config.h>
#include "e-contact-editor-fullname.h"
#include <e-util/e-icon-factory.h>
+#include <e-util/e-util-private.h>
#include <libgnome/gnome-util.h>
#include <libgnome/gnome-i18n.h>
#include <gtk/gtkcombo.h>
@@ -104,6 +105,7 @@ e_contact_editor_fullname_init (EContactEditorFullname *e_contact_editor_fullnam
GladeXML *gui;
GtkWidget *widget;
GList *icon_list;
+ char *gladefile;
gtk_widget_realize (GTK_WIDGET (e_contact_editor_fullname));
gtk_dialog_set_has_separator (GTK_DIALOG (e_contact_editor_fullname),
@@ -119,7 +121,13 @@ e_contact_editor_fullname_init (EContactEditorFullname *e_contact_editor_fullnam
gtk_window_set_resizable(GTK_WINDOW(e_contact_editor_fullname), TRUE);
e_contact_editor_fullname->name = NULL;
- gui = glade_xml_new (EVOLUTION_GLADEDIR "/fullname.glade", NULL, NULL);
+
+ gladefile = g_build_filename (EVOLUTION_GLADEDIR,
+ "fullname.glade",
+ NULL);
+ gui = glade_xml_new (gladefile, NULL, NULL);
+ g_free (gladefile);
+
e_contact_editor_fullname->gui = gui;
widget = glade_xml_get_widget(gui, "dialog-checkfullname");