diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-10-22 02:28:34 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-10-22 02:28:34 +0800 |
commit | 0fb08f3ff81575a4749d851404233f34252dd2f2 (patch) | |
tree | 7e03befedc3a76fd104921dbbc616810d87333be /mail/mail-offline-handler.c | |
parent | 0e19f2c16de592607a341eb9974d31e4e47e02b5 (diff) | |
download | gsoc2013-evolution-0fb08f3ff81575a4749d851404233f34252dd2f2.tar gsoc2013-evolution-0fb08f3ff81575a4749d851404233f34252dd2f2.tar.gz gsoc2013-evolution-0fb08f3ff81575a4749d851404233f34252dd2f2.tar.bz2 gsoc2013-evolution-0fb08f3ff81575a4749d851404233f34252dd2f2.tar.lz gsoc2013-evolution-0fb08f3ff81575a4749d851404233f34252dd2f2.tar.xz gsoc2013-evolution-0fb08f3ff81575a4749d851404233f34252dd2f2.tar.zst gsoc2013-evolution-0fb08f3ff81575a4749d851404233f34252dd2f2.zip |
Merge new-ui-branch to the trunk.
svn path=/trunk/; revision=22964
Diffstat (limited to 'mail/mail-offline-handler.c')
-rw-r--r-- | mail/mail-offline-handler.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/mail-offline-handler.c b/mail/mail-offline-handler.c index ccaff703f5..ce0bcf729f 100644 --- a/mail/mail-offline-handler.c +++ b/mail/mail-offline-handler.c @@ -27,9 +27,10 @@ #endif #include "mail-offline-handler.h" -#include "mail.h" +#include "mail-component.h" #include "mail-ops.h" #include "mail-folder-cache.h" +#include "mail.h" #include <gtk/gtkmain.h> @@ -77,10 +78,10 @@ create_connection_list (void) list = GNOME_Evolution_ConnectionList__alloc (); list->_length = 0; - list->_maximum = mail_storages_count (); + list->_maximum = mail_component_get_storage_count (mail_component_peek ()); list->_buffer = CORBA_sequence_GNOME_Evolution_Connection_allocbuf (list->_maximum); - mail_storages_foreach (add_connection, list); + mail_component_storages_foreach (mail_component_peek (), add_connection, list); return list; } @@ -260,7 +261,7 @@ impl_goOffline (PortableServer_Servant servant, /* FIXME: If send/receive active, wait for it to finish */ - mail_storages_foreach (storage_go_offline, progress_listener); + mail_component_storages_foreach (mail_component_peek (), storage_go_offline, progress_listener); } static void @@ -270,8 +271,7 @@ storage_go_online (gpointer key, gpointer value, gpointer data) if (service_is_relevant (CAMEL_SERVICE (store), FALSE)) { mail_store_set_offline (store, FALSE, NULL, NULL); - mail_note_store (store, NULL, NULL, CORBA_OBJECT_NIL, - NULL, NULL); + mail_note_store (store, NULL, NULL, NULL, NULL); } } @@ -288,7 +288,7 @@ impl_goOnline (PortableServer_Servant servant, /* Enable auto-mail-checking */ camel_session_set_online (session, TRUE); - mail_storages_foreach (storage_go_online, NULL); + mail_component_storages_foreach (mail_component_peek (), storage_go_online, NULL); } /* GObject methods. */ |