From 8438c41a630620f3d8469a22af9cbb822772a935 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 4 Jan 2006 02:34:45 +0000 Subject: Use EVOLUTION_PLUGINDIR as the macro name for the plugindir, to match what 2006-01-04 Tor Lillqvist * Makefile.am: Use EVOLUTION_PLUGINDIR as the macro name for the plugindir, to match what is redefined for Win32 in e-util/e-util-private.h * publish-calendar.c (publish_calendar_locations) * url-editor-dialog.c (url_editor_dialog_construct): Construct glade file pathname at run-time. svn path=/trunk/; revision=31044 --- plugins/publish-calendar/publish-calendar.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'plugins/publish-calendar/publish-calendar.c') diff --git a/plugins/publish-calendar/publish-calendar.c b/plugins/publish-calendar/publish-calendar.c index 356e8934c4..8e2962da4c 100644 --- a/plugins/publish-calendar/publish-calendar.c +++ b/plugins/publish-calendar/publish-calendar.c @@ -30,6 +30,7 @@ #include #include #include +#include #include "url-editor-dialog.h" #include "publish-format-fb.h" #include "publish-format-ical.h" @@ -438,8 +439,13 @@ publish_calendar_locations (EPlugin *epl, EConfigHookItemFactoryData *data) GSList *l; GtkTreeIter iter; GConfClient *client; + char *gladefile; - xml = glade_xml_new (PLUGINDIR "/publish-calendar.glade", "toplevel", NULL); + gladefile = g_build_filename (EVOLUTION_PLUGINDIR, + "publish-calendar.glade", + NULL); + xml = glade_xml_new (gladefile, "toplevel", NULL); + g_free (gladefile); ui->treeview = glade_xml_get_widget (xml, "url list"); if (store == NULL) -- cgit v1.2.3