aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-11-10 10:54:37 +0800
committerChris Lahey <clahey@src.gnome.org>2000-11-10 10:54:37 +0800
commit2ad0db845a7e2991ca2bf7f1018d2bd78aad1768 (patch)
tree2117e866a9ccbbde31b7ab7e0f66d2fd0a2c60f4 /addressbook/gui/component/addressbook.c
parent3e041d400f772154ec7ff97d0e097a6f7bb4b98e (diff)
downloadgsoc2013-evolution-2ad0db845a7e2991ca2bf7f1018d2bd78aad1768.tar.gz
gsoc2013-evolution-2ad0db845a7e2991ca2bf7f1018d2bd78aad1768.tar.zst
gsoc2013-evolution-2ad0db845a7e2991ca2bf7f1018d2bd78aad1768.zip
Require gal 0.2.99.1.
2000-11-09 Christopher James Lahey <clahey@helixcode.com> * configure.in: Require gal 0.2.99.1. From addressbook/ChangeLog: 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-ldap.c: Fixed a warning. * gui/component/addressbook.c: Put in gal view menus for testing purposes. * printing/e-contact-print-envelope.c: Fixed up envelope printing a bit. Added code for printing return addresses. svn path=/trunk/; revision=6529
Diffstat (limited to 'addressbook/gui/component/addressbook.c')
-rw-r--r--addressbook/gui/component/addressbook.c6
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);