Update for EvolutionStorage change

* component-factory.c (storage_connect, storage_connected): Update
	for EvolutionStorage change

svn path=/trunk/; revision=20299
This commit is contained in:
Dan Winship
2003-03-14 18:16:44 +00:00
parent dc987079fc
commit dbf748d3d2
2 changed files with 10 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2003-03-14 Dan Winship <danw@ximian.com>
* component-factory.c (storage_connect, storage_connected): Update
for EvolutionStorage change
2003-03-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-signature-editor.c (menu_file_save_cb): Rewritten to do the

View File

@ -1318,24 +1318,20 @@ storage_xfer_folder (EvolutionStorage *storage,
}
static void
storage_connected (CamelStore *store, CamelFolderInfo *info, void *storage)
storage_connected (CamelStore *store, CamelFolderInfo *info, void *listener)
{
if (!info) {
/* Let it know the connection failed by calling
* has_subfolders again.
*/
evolution_storage_has_subfolders (storage, "/",
_("Connecting..."));
}
notify_listener (listener, (info ? GNOME_Evolution_Storage_OK :
GNOME_Evolution_Storage_GENERIC_ERROR));
}
static void
storage_connect (EvolutionStorage *storage,
const Bonobo_Listener listener,
const char *path,
CamelStore *store)
{
mail_note_store (CAMEL_STORE (store), storage, CORBA_OBJECT_NIL,
storage_connected, storage);
storage_connected, listener);
}
static void