aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-12-07 02:43:02 +0800
committerChris Lahey <clahey@src.gnome.org>2000-12-07 02:43:02 +0800
commit457aff0a2237d4c9d69923ae14635fda58399cc1 (patch)
treecc9dfefd57c1953fe895348b836ea7070e2204f6 /addressbook/gui/component
parent5d64f35e99217ac57c21f7749ed9d80512bf619b (diff)
downloadgsoc2013-evolution-457aff0a2237d4c9d69923ae14635fda58399cc1.tar
gsoc2013-evolution-457aff0a2237d4c9d69923ae14635fda58399cc1.tar.gz
gsoc2013-evolution-457aff0a2237d4c9d69923ae14635fda58399cc1.tar.bz2
gsoc2013-evolution-457aff0a2237d4c9d69923ae14635fda58399cc1.tar.lz
gsoc2013-evolution-457aff0a2237d4c9d69923ae14635fda58399cc1.tar.xz
gsoc2013-evolution-457aff0a2237d4c9d69923ae14635fda58399cc1.tar.zst
gsoc2013-evolution-457aff0a2237d4c9d69923ae14635fda58399cc1.zip
Moved the gal view menu stuff from here to EAddressbookView.
2000-12-06 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Moved the gal view menu stuff from here to EAddressbookView. * gui/widgets/e-addressbook-view.c, gui/widgets/e-addressbook-view.h: New function to set up the menus for the EAddressbookView. svn path=/trunk/; revision=6814
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r--addressbook/gui/component/addressbook.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index c57a721249..0392caf3b6 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -19,7 +19,6 @@
#include <ebook/e-book.h>
#include <gal/util/e-util.h>
#include <gal/widgets/e-unicode.h>
-#include "widgets/menus/gal-view-menus.h"
#include "addressbook/gui/search/e-addressbook-search-dialog.h"
#include "addressbook/gui/widgets/e-addressbook-view.h"
@@ -321,7 +320,6 @@ 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,9 +339,7 @@ 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));
+ e_addressbook_view_setup_menus (view->view, uic);
update_view_type (view);