aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/publish-calendar/publish-calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/publish-calendar/publish-calendar.c')
-rw-r--r--plugins/publish-calendar/publish-calendar.c8
1 files changed, 7 insertions, 1 deletions
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 <calendar/gui/e-cal-config.h>
#include <calendar/gui/e-cal-menu.h>
#include <shell/es-event.h>
+#include <e-util/e-util-private.h>
#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)