From e7defa25a587dfaa160211ce0e2941c044560b5a Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 26 Nov 2005 02:31:52 +0000 Subject: gui/calendar-commands.c gui/e-cal-list-view.c gui/e-calendar-table.c 2005-11-26 Tor Lillqvist * gui/calendar-commands.c * gui/e-cal-list-view.c * gui/e-calendar-table.c * gui/e-memo-table.c * gui/e-memos.c * gui/e-tasks.c * gui/gnome-cal.c * gui/goto.c * gui/memos-control.c * gui/tasks-control.c * gui/alarm-notify/alarm-notify-dialog.c * gui/alarm-notify/notify-main.c * gui/dialogs/alarm-dialog.c * gui/dialogs/alarm-list-dialog.c * gui/dialogs/cal-attachment.c * gui/dialogs/cal-prefs-dialog.c * gui/dialogs/comp-editor.c * gui/dialogs/e-delegate-dialog.c * gui/dialogs/event-editor.c * gui/dialogs/meeting-page.c * gui/dialogs/memo-page.c * gui/dialogs/recurrence-page.c * gui/dialogs/schedule-page.c * gui/dialogs/task-details-page.c * gui/dialogs/task-page.c * gui/dialogs/url-editor-dialog.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=30679 --- calendar/gui/dialogs/event-editor.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'calendar/gui/dialogs/event-editor.c') diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c index d686ab0b03..91faa0cdd3 100644 --- a/calendar/gui/dialogs/event-editor.c +++ b/calendar/gui/dialogs/event-editor.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include "event-page.h" #include "recurrence-page.h" @@ -395,6 +396,7 @@ event_editor_init (EventEditor *ee) EventEditorPrivate *priv; CompEditor *editor = COMP_EDITOR(ee); gboolean status; + char *xmlfile; priv = g_new0 (EventEditorPrivate, 1); ee->priv = priv; @@ -408,9 +410,13 @@ event_editor_init (EventEditor *ee) bonobo_ui_component_add_verb_list_with_data (editor->uic, verbs, ee); + xmlfile = g_build_filename (EVOLUTION_UIDIR, + "evolution-event-editor.xml", + NULL); bonobo_ui_util_set_ui (editor->uic, PREFIX, - EVOLUTION_UIDIR "/evolution-event-editor.xml", + xmlfile, "evolution-event-editor", NULL); + g_free (xmlfile); /* Hide send options */ bonobo_ui_component_set_prop ( -- cgit v1.2.3