diff options
Diffstat (limited to 'addressbook/gui/component/addressbook.c')
-rw-r--r-- | addressbook/gui/component/addressbook.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index 5ce49871ba..533f13ba90 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -19,6 +19,7 @@ #include <ebook/e-book.h> #include <gal/util/e-util.h> #include <gal/widgets/e-unicode.h> +#include <gal/menus/gal-view-menus.h> #include "addressbook/gui/search/e-addressbook-search-dialog.h" #include "addressbook/gui/widgets/e-addressbook-view.h" @@ -322,6 +323,7 @@ control_activate (BonoboControl *control, AddressbookView *view) { Bonobo_UIContainer remote_ui_container; + GalViewMenus *views; remote_ui_container = bonobo_control_get_remote_ui_container (control); bonobo_ui_component_set_container (uic, remote_ui_container); @@ -341,6 +343,10 @@ control_activate (BonoboControl *control, "evolution-addressbook"); #endif + views = gal_view_menus_new(); + gal_view_menus_apply(views, uic, NULL); + gtk_object_unref(GTK_OBJECT(views)); + update_view_type (view); bonobo_ui_component_thaw (uic, NULL); |