From 97cc1d57adcdefb5b63a704f42f692e3cffb4014 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 23 Jul 2001 02:04:14 +0000 Subject: Add an extra @type arg to the xferFolder and removeFolder methods in the ShellComponent interface. Updated the EvolutionShellComponent GTK+ wrapper and all the component accordingly. Get the calendar to use this so it can delete both tasks and calendar folders. svn path=/trunk/; revision=11300 --- shell/evolution-shell-component.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'shell/evolution-shell-component.c') diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c index cf7de2354c..8bf0f68f10 100644 --- a/shell/evolution-shell-component.c +++ b/shell/evolution-shell-component.c @@ -369,6 +369,7 @@ static void impl_removeFolderAsync (PortableServer_Servant servant, const GNOME_Evolution_ShellComponentListener listener, const CORBA_char *physical_uri, + const CORBA_char *type, CORBA_Environment *ev) { BonoboObject *bonobo_object; @@ -386,7 +387,7 @@ impl_removeFolderAsync (PortableServer_Servant servant, return; } - (* priv->remove_folder_fn) (shell_component, physical_uri, listener, priv->closure); + (* priv->remove_folder_fn) (shell_component, physical_uri, type, listener, priv->closure); } static void @@ -394,6 +395,7 @@ impl_xferFolderAsync (PortableServer_Servant servant, const GNOME_Evolution_ShellComponentListener listener, const CORBA_char *source_physical_uri, const CORBA_char *destination_physical_uri, + const CORBA_char *type, const CORBA_boolean remove_source, CORBA_Environment *ev) { @@ -415,6 +417,7 @@ impl_xferFolderAsync (PortableServer_Servant servant, (* priv->xfer_folder_fn) (shell_component, source_physical_uri, destination_physical_uri, + type, remove_source, listener, priv->closure); -- cgit