aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-21 03:15:04 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-21 03:15:04 +0800
commitfcce65ec8a149ca8f578e76ce6afd675edff196b (patch)
tree59ba77ca320e8de6f6d29a9c69961f5cbdd30448 /mail/component-factory.c
parent78cdb79e5a9f464ede40ea1caa373cf46e24de4b (diff)
downloadgsoc2013-evolution-fcce65ec8a149ca8f578e76ce6afd675edff196b.tar.gz
gsoc2013-evolution-fcce65ec8a149ca8f578e76ce6afd675edff196b.tar.zst
gsoc2013-evolution-fcce65ec8a149ca8f578e76ce6afd675edff196b.zip
Fix DanW's fix. Pass the right arguments to mail_msg_destroy.
2001-07-20 Peter Williams <peterw@ximian.com> * mail-mt.c (mail_msgport_replied): Fix DanW's fix. Pass the right arguments to mail_msg_destroy. * component-factory.c (component_fn): Don't populate the context menu; our only action didn't even work. (populate_folder_context_menu): Removed. ChangeFolderProperties needs a FolderBrowser which we don't have. It didn't even work before. * mail-local.c (mail_local_reconfigure_folder): Bring the creation of the hash table to the beginning to prevent warnings. Complain if the mailbox is non-local. svn path=/trunk/; revision=11266
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 5074cbfabf..039cacd7df 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -300,6 +300,7 @@ xfer_folder (EvolutionShellComponent *shell_component,
CORBA_exception_free (&ev);
}
+#if 0
static void
populate_folder_context_menu (EvolutionShellComponent *shell_component,
BonoboUIComponent *uic,
@@ -317,6 +318,7 @@ populate_folder_context_menu (EvolutionShellComponent *shell_component,
bonobo_ui_component_set_translate (uic, EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER,
popup_xml, NULL);
}
+#endif
static char *
get_dnd_selection (EvolutionShellComponent *shell_component,
@@ -671,7 +673,7 @@ component_fn (BonoboGenericFactory *factory, void *closure)
create_folder,
remove_folder,
xfer_folder,
- populate_folder_context_menu,
+ /*populate_folder_context_menu*/NULL,
get_dnd_selection,
NULL);