aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-component.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-07-06 17:26:32 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-07-06 17:26:32 +0800
commitcfdc0e2cff1fee63467f8a3ad9534a97b2c267b1 (patch)
tree5dc57217219cd0145165551d635fe438d6dd9ecd /addressbook/gui/component/addressbook-component.c
parent6741277bdc04ddfb790ceb765a56f073d3e3b7a9 (diff)
downloadgsoc2013-evolution-cfdc0e2cff1fee63467f8a3ad9534a97b2c267b1.tar.gz
gsoc2013-evolution-cfdc0e2cff1fee63467f8a3ad9534a97b2c267b1.tar.zst
gsoc2013-evolution-cfdc0e2cff1fee63467f8a3ad9534a97b2c267b1.zip
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
Diffstat (limited to 'addressbook/gui/component/addressbook-component.c')
-rw-r--r--addressbook/gui/component/addressbook-component.c15
1 files changed, 1 insertions, 14 deletions
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,