From 47ab2202ba161234ec2790290152f64be0163dd7 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 26 May 2000 14:49:12 +0000 Subject: Made the storage view update at changes in the storage, and implemented a BonoboObject for wrapping the Evolution::Storage CORBA interface. Also fixed a few bugs. This makes the shell's storage extensibility usable for Evolution components. svn path=/trunk/; revision=3219 --- shell/e-corba-storage.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shell/e-corba-storage.c') diff --git a/shell/e-corba-storage.c b/shell/e-corba-storage.c index 4048a6d272..00f1c575b0 100644 --- a/shell/e-corba-storage.c +++ b/shell/e-corba-storage.c @@ -109,13 +109,18 @@ impl_StorageListener_new_folder (PortableServer_Servant servant, folder->type, folder->description); + e_folder_set_physical_uri (e_folder, folder->physical_uri); + if (! e_storage_new_folder (storage, path, e_folder)) { + g_print ("Cannot register folder -- %s %s\n", path, folder->name); CORBA_exception_set (ev, CORBA_USER_EXCEPTION, ex_Evolution_StorageListener_Exists, NULL); gtk_object_unref (GTK_OBJECT (e_folder)); } + + g_print ("Folder registered successfully -- %s %s\n", path, folder->name); } static void -- cgit v1.2.3