aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-corba-storage-registry.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-corba-storage-registry.c')
-rw-r--r--shell/e-corba-storage-registry.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/e-corba-storage-registry.c b/shell/e-corba-storage-registry.c
index c740bbe9b5..e25907df68 100644
--- a/shell/e-corba-storage-registry.c
+++ b/shell/e-corba-storage-registry.c
@@ -87,6 +87,11 @@ impl_StorageRegistry_addStorage (PortableServer_Servant servant,
storage_registry = E_CORBA_STORAGE_REGISTRY (bonobo_object);
priv = storage_registry->priv;
+ if (toplevel_node_uri[0] == '\0')
+ toplevel_node_uri = NULL;
+ if (toplevel_node_type[0] == '\0')
+ toplevel_node_type = NULL;
+
storage = e_corba_storage_new (toplevel_node_uri,
toplevel_node_type,
storage_interface,