aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
authorMichael Meeks <mmeeks@src.gnome.org>2000-09-17 00:37:07 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-09-17 00:37:07 +0800
commit4f04a07954d6d577dfd99fbb85fe60db5873d137 (patch)
tree243a4ff3a25c323b9f9c22e8157763649d7ceb06 /shell/e-shell-view-menu.c
parentfa1d9f97dfd8ba2a6ba97dbb23d681441b794d74 (diff)
downloadgsoc2013-evolution-4f04a07954d6d577dfd99fbb85fe60db5873d137.tar.gz
gsoc2013-evolution-4f04a07954d6d577dfd99fbb85fe60db5873d137.tar.zst
gsoc2013-evolution-4f04a07954d6d577dfd99fbb85fe60db5873d137.zip
Everywhere add a -DEVOLUTION_DATADIR=${datadir} in the Makefile.am
And use this in grabbing the ui from the xml file. Requires HEAD bonobo. svn path=/trunk/; revision=5474
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 351c7b6231..0d7c992292 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -457,7 +457,8 @@ e_shell_view_menu_setup (EShellView *shell_view)
bonobo_ui_container_freeze (container, NULL);
- fname = bonobo_ui_util_get_ui_fname ("evolution.xml");
+ fname = bonobo_ui_util_get_ui_fname (
+ EVOLUTION_DATADIR, "evolution.xml");
g_warning ("Attempting ui load from '%s'", fname);
ui = bonobo_ui_util_new_ui (component, fname, "evolution");