aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-03-15 02:16:44 +0800
committerDan Winship <danw@src.gnome.org>2003-03-15 02:16:44 +0800
commitdbf748d3d227da9903dfd0cbd0ddcfaa6fc2dd1a (patch)
treeae93ac853ee0cb56edc37008bf5e76c114f76b77 /mail
parentdc987079fc9fb8d17554831960c75aceb0b1bde6 (diff)
downloadgsoc2013-evolution-dbf748d3d227da9903dfd0cbd0ddcfaa6fc2dd1a.tar
gsoc2013-evolution-dbf748d3d227da9903dfd0cbd0ddcfaa6fc2dd1a.tar.gz
gsoc2013-evolution-dbf748d3d227da9903dfd0cbd0ddcfaa6fc2dd1a.tar.bz2
gsoc2013-evolution-dbf748d3d227da9903dfd0cbd0ddcfaa6fc2dd1a.tar.lz
gsoc2013-evolution-dbf748d3d227da9903dfd0cbd0ddcfaa6fc2dd1a.tar.xz
gsoc2013-evolution-dbf748d3d227da9903dfd0cbd0ddcfaa6fc2dd1a.tar.zst
gsoc2013-evolution-dbf748d3d227da9903dfd0cbd0ddcfaa6fc2dd1a.zip
Update for EvolutionStorage change
* component-factory.c (storage_connect, storage_connected): Update for EvolutionStorage change svn path=/trunk/; revision=20299
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/component-factory.c14
2 files changed, 10 insertions, 9 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index ec8c9e200c..769d19d4b7 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -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
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 5592c4e0a0..02f4492402 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -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