aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook.c
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-10-21 13:16:01 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-10-21 13:16:01 +0800
commitc520034c0b7243612535177882d8ebe5c7344c5d (patch)
treea842b17712888bcda0c79993899e08a95a8395ec /addressbook/gui/component/addressbook.c
parent41e86775f05e5bdd8b6284fa5bc90129e13ee9c2 (diff)
downloadgsoc2013-evolution-c520034c0b7243612535177882d8ebe5c7344c5d.tar.gz
gsoc2013-evolution-c520034c0b7243612535177882d8ebe5c7344c5d.tar.zst
gsoc2013-evolution-c520034c0b7243612535177882d8ebe5c7344c5d.zip
Call e_addressbook_model_force_folder_bar_message when we activate the
2001-10-21 Jon Trowbridge <trow@ximian.com> * gui/component/addressbook.c (control_activate_cb): Call e_addressbook_model_force_folder_bar_message when we activate the component. (Fixes bug #11749) * gui/widgets/e-addressbook-model.c (e_addressbook_model_force_folder_bar_message): Added. Forces emission of a folder_bar_message. svn path=/trunk/; revision=13840
Diffstat (limited to 'addressbook/gui/component/addressbook.c')
-rw-r--r--addressbook/gui/component/addressbook.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index 41b2ff7396..c9f2693997 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -387,9 +387,13 @@ control_activate_cb (BonoboControl *control,
uic = bonobo_control_get_ui_component (control);
g_assert (uic != NULL);
- if (activate)
+ if (activate) {
+
control_activate (control, uic, view);
- else {
+ if (activate && view->view && view->view->model)
+ e_addressbook_model_force_folder_bar_message (view->view->model);
+
+ } else {
bonobo_ui_component_unset_container (uic);
e_addressbook_view_discard_menus (view->view);
}