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
This commit is contained in:
Ettore Perazzoli
2001-07-06 09:26:32 +00:00
parent 6741277bdc
commit cfdc0e2cff
2 changed files with 10 additions and 15 deletions

View File

@ -1,4 +1,12 @@
2001-07-05 Anna Marie Dirks <anna@ximian.com>
2001-07-06 Ettore Perazzoli <ettore@ximian.com>
* 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.
2001-07-05 Anna Marie Dirks <anna@ximian.com>
* gui/contact-list-editor/contact-list-editor.glade:
Added some accelerators, padding, and a "memebers" frame;
also fixed spacing and growth behaviour of this dialog.

View File

@ -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[] =
"<menuitem name=\"BorkBorkBork\" verb=\"ActivateView\" _label=\"_Foooo\" _tip=\"FooFooFoo\"/>\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,