diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-12-09 08:55:57 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-12-09 08:55:57 +0800 |
commit | a66eae167484718678ceae7368c167aacb322b38 (patch) | |
tree | 109b1873d637de6411d3aa1bb67fab865ecc2e08 /shell/e-corba-storage.c | |
parent | 25ad3092eb60a6dcdbb810cf684ce6dc8715ac4c (diff) | |
download | gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar.gz 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.c')
-rw-r--r-- | shell/e-corba-storage.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/shell/e-corba-storage.c b/shell/e-corba-storage.c index 06573974d5..2a0d61d4ee 100644 --- a/shell/e-corba-storage.c +++ b/shell/e-corba-storage.c @@ -326,6 +326,7 @@ init (ECorbaStorage *corba_storage) void e_corba_storage_construct (ECorbaStorage *corba_storage, const char *toplevel_node_uri, + const char *toplevel_node_type, const GNOME_Evolution_Storage storage_interface, const char *name) { @@ -337,7 +338,7 @@ e_corba_storage_construct (ECorbaStorage *corba_storage, g_return_if_fail (storage_interface != CORBA_OBJECT_NIL); g_return_if_fail (name != NULL); - e_storage_construct (E_STORAGE (corba_storage), toplevel_node_uri); + e_storage_construct (E_STORAGE (corba_storage), toplevel_node_uri, toplevel_node_type); priv = corba_storage->priv; @@ -359,6 +360,7 @@ e_corba_storage_construct (ECorbaStorage *corba_storage, EStorage * e_corba_storage_new (const char *toplevel_node_uri, + const char *toplevel_node_type, const GNOME_Evolution_Storage storage_interface, const char *name) { @@ -369,7 +371,10 @@ e_corba_storage_new (const char *toplevel_node_uri, new = gtk_type_new (e_corba_storage_get_type ()); - e_corba_storage_construct (E_CORBA_STORAGE (new), toplevel_node_uri, storage_interface, name); + e_corba_storage_construct (E_CORBA_STORAGE (new), + toplevel_node_uri, + toplevel_node_type, + storage_interface, name); return new; } |