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
This commit is contained in:
Ettore Perazzoli
2001-07-23 02:04:14 +00:00
parent 13c7f54818
commit 97cc1d57ad
14 changed files with 174 additions and 17 deletions

View File

@ -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);