[geary/wip/765516-gtk-widget-conversation-viewer: 48/174] Load the avatar cache on startup to ensure it is being loaded.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/765516-gtk-widget-conversation-viewer: 48/174] Load the avatar cache on startup to ensure it is being loaded.
- Date: Sun, 25 Sep 2016 13:10:05 +0000 (UTC)
commit da5298c8bfdd83d7da2cab5f44b3e0c317346b94
Author: Michael James Gratton <mike vee net>
Date: Fri Apr 22 15:56:25 2016 +1000
Load the avatar cache on startup to ensure it is being loaded.
src/client/application/geary-controller.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala
index 7f251a4..c01e4a8 100644
--- a/src/client/application/geary-controller.vala
+++ b/src/client/application/geary-controller.vala
@@ -196,6 +196,7 @@ public class GearyController : Geary.BaseObject {
avatar_cache_dir.get_path(),
Soup.CacheType.SINGLE_USER
);
+ avatar_cache.load();
avatar_cache.set_max_size(4 * 1024 * 1024); // 4MB
avatar_session = new Soup.Session.with_options(
Soup.SESSION_USER_AGENT, "Geary/" + GearyApplication.VERSION
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]