diff options
-rw-r--r-- | addressbook/ChangeLog | 10 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook-component.c | 15 |
2 files changed, 10 insertions, 15 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 9d671af9e5..9a2fcaf41e 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -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. 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[] = - "<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, |