aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-corba-storage-registry.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-12-09 08:55:57 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-12-09 08:55:57 +0800
commita66eae167484718678ceae7368c167aacb322b38 (patch)
tree109b1873d637de6411d3aa1bb67fab865ecc2e08 /shell/e-corba-storage-registry.c
parent25ad3092eb60a6dcdbb810cf684ce6dc8715ac4c (diff)
downloadgsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar
gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar.gz
gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar.bz2
gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar.lz
gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar.xz
gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar.zst
gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.zip
Complete the code to associate a URI and a folder type to the toplevel
node in a storage. It sucks a bit and needs a little more refactoring. svn path=/trunk/; revision=6878
Diffstat (limited to 'shell/e-corba-storage-registry.c')
-rw-r--r--shell/e-corba-storage-registry.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/e-corba-storage-registry.c b/shell/e-corba-storage-registry.c
index 982bd76e49..c740bbe9b5 100644
--- a/shell/e-corba-storage-registry.c
+++ b/shell/e-corba-storage-registry.c
@@ -72,6 +72,7 @@ impl_StorageRegistry_addStorage (PortableServer_Servant servant,
const GNOME_Evolution_Storage storage_interface,
const CORBA_char *name,
const CORBA_char *toplevel_node_uri,
+ const CORBA_char *toplevel_node_type,
CORBA_Environment *ev)
{
BonoboObject *bonobo_object;
@@ -86,7 +87,10 @@ impl_StorageRegistry_addStorage (PortableServer_Servant servant,
storage_registry = E_CORBA_STORAGE_REGISTRY (bonobo_object);
priv = storage_registry->priv;
- storage = e_corba_storage_new (toplevel_node_uri, storage_interface, name);
+ storage = e_corba_storage_new (toplevel_node_uri,
+ toplevel_node_type,
+ storage_interface,
+ name);
if (! e_storage_set_add_storage (priv->storage_set, storage)) {
CORBA_exception_set (ev,