aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/test-calendar.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-04-30 21:22:59 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-04-30 22:11:31 +0800
commit6ec48e33ef01476246d943d941eb2e022687ef59 (patch)
treeb9bdbecb2182fd4b0de8166063f35979d245adc1 /e-util/test-calendar.c
parent4662c6d0f8723fe33595598b6cf2f6621fcc12e8 (diff)
downloadgsoc2013-evolution-6ec48e33ef01476246d943d941eb2e022687ef59.tar
gsoc2013-evolution-6ec48e33ef01476246d943d941eb2e022687ef59.tar.gz
gsoc2013-evolution-6ec48e33ef01476246d943d941eb2e022687ef59.tar.bz2
gsoc2013-evolution-6ec48e33ef01476246d943d941eb2e022687ef59.tar.lz
gsoc2013-evolution-6ec48e33ef01476246d943d941eb2e022687ef59.tar.xz
gsoc2013-evolution-6ec48e33ef01476246d943d941eb2e022687ef59.tar.zst
gsoc2013-evolution-6ec48e33ef01476246d943d941eb2e022687ef59.zip
Make sure EAddressbookModel has a fresh EBookClient.
In the event of an address book backend abort, EClientCache detects this and invalidates its cached EClient (if it has one), so a new instance is created on the next request. EAddressbookModel is only handed an EClient once, which may become stale if the backend aborts. And even if the backend is restarted the address book will remain unresponsive in Evolution. This commit changes the behavior so that every time an address book is selected in the side bar, a fresh EClient instance is obtained from the EClientCache and handed to the EAddressbookModel. If the model already has that EClient instance, nothing happens. Otherwise the model resets itself and creates a new EBookClientView.
Diffstat (limited to 'e-util/test-calendar.c')
0 files changed, 0 insertions, 0 deletions