diff options
author | Shreyas Srinivasan <sshreyas@novell.com> | 2005-05-13 16:50:16 +0800 |
---|---|---|
committer | Shreyas Srinivasan <shres@src.gnome.org> | 2005-05-13 16:50:16 +0800 |
commit | ed8ecf6bdf2a22ea240793c70607266da7e7ff1c (patch) | |
tree | 2e5472d256f96c5b7ee39e28fe0db9f3c10181ae | |
parent | 409d50475b90a16a0ab5ff5d787f34cdf143ff2c (diff) | |
download | gsoc2013-evolution-ed8ecf6bdf2a22ea240793c70607266da7e7ff1c.tar.gz gsoc2013-evolution-ed8ecf6bdf2a22ea240793c70607266da7e7ff1c.tar.zst gsoc2013-evolution-ed8ecf6bdf2a22ea240793c70607266da7e7ff1c.zip |
Fixes bug #273868, #300113, #302831.
2005-05-06 Shreyas Srinivasan <sshreyas@novell.com>
* Fixes bug #273868, #300113, #302831.
* mail-offline-handler.c : Add check for Camel Offline
store check to is_service_relevant.
svn path=/trunk/; revision=29349
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/mail-offline-handler.c | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 2692f43f62..e477b2797e 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2005-05-13 Shreyas Srinivasan <sshreyas@novell.com> + + * Fixes bug #273868, #300113, #302831. + + * mail-offline-handler.c : Add check for Camel Offline + store to is_service_relevant. + 2005-04-21 Jeffrey Stedfast <fejj@novell.com> * em-composer-utils.c (post_reply_to_message): Use the real folder diff --git a/mail/mail-offline-handler.c b/mail/mail-offline-handler.c index d2b2cdbce0..c79b8ae36a 100644 --- a/mail/mail-offline-handler.c +++ b/mail/mail-offline-handler.c @@ -33,6 +33,7 @@ #include "em-folder-tree.h" #include <camel/camel-disco-store.h> +#include <camel/camel-offline-store.h> #include "mail-session.h" #include <gtk/gtkmain.h> @@ -56,7 +57,9 @@ service_is_relevant (CamelService *service, gboolean going_offline) if (CAMEL_IS_DISCO_STORE (service) && camel_disco_store_status (CAMEL_DISCO_STORE (service)) == CAMEL_DISCO_STORE_OFFLINE) return !going_offline; - + else if ( CAMEL_IS_OFFLINE_STORE (service) && + CAMEL_OFFLINE_STORE ( service )->state == CAMEL_OFFLINE_STORE_NETWORK_UNAVAIL ) + return !going_offline; return service->status != CAMEL_SERVICE_DISCONNECTED; } |