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
This commit is contained in:
Shreyas Srinivasan
2005-05-13 08:50:16 +00:00
committed by Shreyas Srinivasan
parent 409d50475b
commit ed8ecf6bdf
2 changed files with 11 additions and 1 deletions
+7
View File
@@ -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
+4 -1
View File
@@ -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;
}