From cfdc0e2cff1fee63467f8a3ad9534a97b2c267b1 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 6 Jul 2001 09:26:32 +0000 Subject: Removed. [It was just bogus testing code for the right-click menu * gui/component/addressbook-component.c (populate_context_menu): Removed. [It was just bogus testing code for the right-click menu populating interface in the shell]. (factory_fn): Pass NULL as the PopulateContextMenuFn. svn path=/trunk/; revision=10843 --- addressbook/gui/component/addressbook-component.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c index ff515dd163..ea67fdf6e7 100644 --- a/addressbook/gui/component/addressbook-component.c +++ b/addressbook/gui/component/addressbook-component.c @@ -225,19 +225,6 @@ xfer_folder (EvolutionShellComponent *shell_component, CORBA_exception_free (&ev); } -static void -populate_context_menu (EvolutionShellComponent *shell_component, - BonoboUIComponent *uic, - const char *physical_uri, - const char *type, - void *closure) -{ - static char popup_xml[] = - "\n"; - bonobo_ui_component_set_translate (uic, EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER, - popup_xml, NULL); -} - static char* get_dnd_selection (EvolutionShellComponent *shell_component, const char *physical_uri, @@ -347,8 +334,8 @@ factory_fn (BonoboGenericFactory *factory, shell_component = evolution_shell_component_new (folder_types, NULL, create_view, create_folder, remove_folder, xfer_folder, - populate_context_menu, get_dnd_selection, + NULL, NULL); destination_interface = evolution_shell_component_dnd_destination_folder_new (destination_folder_handle_motion, -- cgit v1.2.3