aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r--addressbook/gui/component/addressbook.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index c572bfc097..a3df7a300e 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -349,8 +349,10 @@ control_activate_cb (BonoboControl *control,
if (activate)
control_activate (control, uic, view);
- else
+ else {
bonobo_ui_component_unset_container (uic);
+ e_addressbook_view_discard_menus (view->view);
+ }
}
static void