diff options
Diffstat (limited to 'addressbook/gui/component/addressbook-view.c')
-rw-r--r-- | addressbook/gui/component/addressbook-view.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook-view.c b/addressbook/gui/component/addressbook-view.c index 564c659d05..7a88888039 100644 --- a/addressbook/gui/component/addressbook-view.c +++ b/addressbook/gui/component/addressbook-view.c @@ -48,6 +48,7 @@ #include "e-util/e-icon-factory.h" +#include "e-util/e-util-private.h" #include "shell/e-user-creatable-items-handler.h" #include "evolution-shell-component-utils.h" @@ -438,6 +439,7 @@ control_activate (BonoboControl *control, AddressbookViewPrivate *priv = view->priv; Bonobo_UIContainer remote_ui_container; EABView *v = get_current_view (view); + char *xmlfile; remote_ui_container = bonobo_control_get_remote_ui_container (control, NULL); bonobo_ui_component_set_container (uic, remote_ui_container, NULL); @@ -448,9 +450,13 @@ control_activate (BonoboControl *control, bonobo_ui_component_freeze (uic, NULL); + xmlfile = g_build_filename (EVOLUTION_UIDIR, + "evolution-addressbook.xml", + NULL); bonobo_ui_util_set_ui (uic, PREFIX, - EVOLUTION_UIDIR "/evolution-addressbook.xml", + xmlfile, "evolution-addressbook", NULL); + g_free (xmlfile); if (v) eab_view_setup_menus (v, uic); |