diff options
author | Tor Lillqvist <tml@novell.com> | 2006-01-04 10:34:45 +0800 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2006-01-04 10:34:45 +0800 |
commit | 8438c41a630620f3d8469a22af9cbb822772a935 (patch) | |
tree | 3fd506b0be693e883dd3263bacbebfa681250c51 /plugins/publish-calendar/publish-calendar.c | |
parent | 9842fcaea981db6a6f4692101079557953bc5914 (diff) | |
download | gsoc2013-evolution-8438c41a630620f3d8469a22af9cbb822772a935.tar gsoc2013-evolution-8438c41a630620f3d8469a22af9cbb822772a935.tar.gz gsoc2013-evolution-8438c41a630620f3d8469a22af9cbb822772a935.tar.bz2 gsoc2013-evolution-8438c41a630620f3d8469a22af9cbb822772a935.tar.lz gsoc2013-evolution-8438c41a630620f3d8469a22af9cbb822772a935.tar.xz gsoc2013-evolution-8438c41a630620f3d8469a22af9cbb822772a935.tar.zst gsoc2013-evolution-8438c41a630620f3d8469a22af9cbb822772a935.zip |
Use EVOLUTION_PLUGINDIR as the macro name for the plugindir, to match what
2006-01-04 Tor Lillqvist <tml@novell.com>
* 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
Diffstat (limited to 'plugins/publish-calendar/publish-calendar.c')
-rw-r--r-- | plugins/publish-calendar/publish-calendar.c | 8 |
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) |