[evolution-patches] Using camel in offline mode, switching to online mode
- From: Philip Van Hoof <spam pvanhoof be>
- To: evolution-patches gnome org
- Subject: [evolution-patches] Using camel in offline mode, switching to online mode
- Date: Tue, 13 Jun 2006 17:01:25 +0200
When will disco_construct (the constructor of the disco) be called? Is
it the only method that will ever set disco->status?
When I request my folders the first time when the session is offline,
and request the folders again after the session becomes online, I
noticed the disco instance is still put offline (yet the session
instance is put online).
So I checked, and disco_construct looks like the only method that
changes this flag:
disco->status = camel_session_is_online (session) ?
CAMEL_DISCO_STORE_ONLINE : CAMEL_DISCO_STORE_OFFLINE;
Is it possible that the constructor of the disco is not called? For
example, is the disco instance reused?
--
Philip Van Hoof, software developer at x-tend
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
http://www.pvanhoof.be - http://www.x-tend.be
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]