aboutsummaryrefslogtreecommitdiffstats
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
parent6741277bdc04ddfb790ceb765a56f073d3e3b7a9 (diff)
downloadgsoc2013-evolution-cfdc0e2cff1fee63467f8a3ad9534a97b2c267b1.tar
gsoc2013-evolution-cfdc0e2cff1fee63467f8a3ad9534a97b2c267b1.tar.gz
gsoc2013-evolution-cfdc0e2cff1fee63467f8a3ad9534a97b2c267b1.tar.bz2
gsoc2013-evolution-cfdc0e2cff1fee63467f8a3ad9534a97b2c267b1.tar.lz
gsoc2013-evolution-cfdc0e2cff1fee63467f8a3ad9534a97b2c267b1.tar.xz
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
-rw-r--r--addressbook/ChangeLog10
-rw-r--r--addressbook/gui/component/addressbook-component.c15
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,